Skip to content

Release workflow example uses regular pull request events - #114

Draft
Marius Storhaug (MariusStorhaug) wants to merge 10 commits into
mainfrom
docs/pull-request-trigger
Draft

Marius Storhaug (MariusStorhaug) wants to merge 10 commits into
mainfrom
docs/pull-request-trigger

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

The README release workflow example now uses pull_request instead of pull_request_target. The action code and repository workflow files are unchanged.

Fixed: Release workflow example uses regular pull request events

Users who copy the example now configure regular pull request events. The branch filter and event types stay the same. Existing consumer workflows are unchanged; to adopt the example, replace pull_request_target with pull_request in the calling workflow.

Normal fork PR tokens are read-only, so release creation and PR comments can fail for those runs. This documentation change does not add fork-publishing support.

Technical details
  • The complete PR diff is one changed line in README.md.
  • All added security, dependency, workflow, release-policy, and test changes have been reverted.
  • All other tracked files match the PR base. The resulting tree matches the original one-line change in commit 6660fe91979ce1cd3f08d0c6c746ab951a83f2ec.
  • git diff --check passes. The README-only change does not match the release workflow's action.yml or src/** path filters.

@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Use pull_request in the release workflow example Release workflow example uses regular pull request events Nov 4, 2026
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Release workflow example uses regular pull request events Release publishing isolates pull request code Nov 16, 2026
@MariusStorhaug Marius Storhaug (MariusStorhaug) added the Major Breaking changes label Nov 16, 2026
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Release publishing isolates pull request code Pull request releases use one hardened workflow Nov 16, 2026
@MariusStorhaug Marius Storhaug (MariusStorhaug) removed the Major Breaking changes label Nov 16, 2026
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Pull request releases use one hardened workflow Release workflow example uses regular pull request events Nov 16, 2026
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