Skip to content

[CI] Pass user that triggered the release to workflows in other repositories - #9945

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/pass-triggered-by-to-other-workflows
Jun 18, 2026
Merged

tobias-tengler merged 1 commit into
mainfrom
tte/pass-triggered-by-to-other-workflows

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 18, 2026 08:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the release automation by forwarding the identity of the GitHub user who triggered the release into downstream workflow_dispatch runs in other repositories, enabling those workflows to attribute/audit releases to a specific initiator.

Changes:

  • Pass github.actor as a new triggered_by input from the main release workflow into the dispatch helper.
  • Extend the dispatch-and-watch-workflow composite action with an optional triggered_by input.
  • Only include -f triggered_by=... in the gh workflow run invocation when the input is non-empty, preserving compatibility with target workflows that don’t define this input.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Forwards the triggering username (github.actor) when dispatching the cloud platform update workflow.
.github/actions/dispatch-and-watch-workflow/action.yml Adds optional triggered_by input and conditionally forwards it to gh workflow run.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tobias-tengler
tobias-tengler merged commit be09604 into main Jun 18, 2026
144 of 145 checks passed
@tobias-tengler
tobias-tengler deleted the tte/pass-triggered-by-to-other-workflows branch June 18, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants