Repository navigation
Release workflow example uses regular pull request events - #114
Merged
Marius Storhaug (MariusStorhaug) merged 11 commits intoNov 22, 2026
Merged
Conversation
Marius Storhaug (MariusStorhaug)
marked this pull request as ready for review
November 21, 2026 16:08
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Different concurrency groups can leave prereleases behind, and the example omits fork-token and merge-conflict cleanup limitations.
3 open issues
What changed in this PR
Updates the Release-GHRepository README example to use regular pull request events. This changes the workflow consumers may copy; the action code and repository workflows remain unchanged.
Changes:
- Replaces
pull_request_targetwithpull_request. - Retains the
mainbranch filter and existing event types.
| File | Description |
|---|---|
| README.md | Switches the release workflow example to pull_request events. |
Review effort: Balanced
Marius Storhaug (MariusStorhaug)
deleted the
docs/pull-request-trigger
branch
November 22, 2026 21:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The README example uses regular
pull_requestevents and the PR base branch for its concurrency group. To adopt the example, change the trigger and concurrency key in your workflow. This PR changes guidance only; action code and repository workflows stay the same.Fixed: Release workflow example uses regular pull request events
The example keeps pre-merge and merged PR runs in the same concurrency group. The branch filter and event types stay the same.
Existing workflows do not change automatically. Adoption is optional. Normal fork PR tokens are read-only, so release creation and PR comments can fail on those runs. This change does not add fork-publication support.
Migration guide
For workflows copied from the previous README example, make these edits:
pull_request_targetwithpull_requestunderon.${{ github.workflow }}-${{ github.ref }}with${{ github.workflow }}-${{ github.event.pull_request.base.ref }}underconcurrency.group.Confirm that pre-merge and merged events use the same group for the same base branch. For example, workflow
Release-GHRepositorywith base branchmainuses groupRelease-GHRepository-mainin both cases.No action-version update or module installation is required for these example edits.
Technical details
The complete diff changes two lines in
README.md. The scoped comparison is base750abed0ecab02394554b610dc3aa191e75e3248to head5a1357144c38cb0fd74775fec7bbee711a008e94. All other tracked files match the base.The base-branch concurrency key corrects the trigger-dependent difference between pre-merge and merged
github.refvalues. The earlier local experiment found two old keys and one shared base-branch key.The versioned publication workflow,
.github/workflows/Release.yml, selects onlyaction.ymlandsrc/**. This README-only diff does not match that path filter. The other workflows run validation or the action withWhatIf: true. No inspected publication route applies to this diff; this description makes no runtime, broader security, or release-readiness claim.No closing delivery issue is specified. No additional issue closure is claimed.
11346421e56d062179ce6177d1b878ed08de7c53