Skip to content

fix: allow release creation to trigger workflows#534

Open
hspitzley-czi wants to merge 2 commits intomainfrom
CCIE-6450-workaround-for-release-please-reverting-staging-tag-release-trigger
Open

fix: allow release creation to trigger workflows#534
hspitzley-czi wants to merge 2 commits intomainfrom
CCIE-6450-workaround-for-release-please-reverting-staging-tag-release-trigger

Conversation

@hspitzley-czi
Copy link
Copy Markdown
Contributor

Split release-please into two steps

Previously a single googleapis/release-please-action@v4 call handled both PR creation and release creation. When preserve_files is set, the action uses GITHUB_TOKEN to silence the branch push — but this also silenced release creation, breaking on: release downstream workflows.

The fix splits the action into two calls:

  • release_pr (skip-github-release: true) — handles PR branch creation/update only, uses the silent token strategy when needed
  • release (skip-github-pull-request: true) — handles GitHub release creation only, always uses app_token so release events trigger downstream workflows

PR-related output references (prs_created, prs) now come from steps.release_pr.outputs; release-related references (release_created, major, minor) remain on steps.release.outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant