Skip to content

Remove privileged PR triggers and document release builds - #183

Merged
Jason Gilbertson (jagilber) merged 1 commit into
microsoft:masterfrom
jagilber:fix/actions-event-policy
Oct 19, 2026
Merged

Jason Gilbertson (jagilber) merged 1 commit into
microsoft:masterfrom
jagilber:fix/actions-event-policy

Conversation

@jagilber

Copy link
Copy Markdown
Contributor

Summary

Resolve the November 2, 2026 pull_request_target policy notice without an event-policy exception.

  • Remove the automatic labeler workflow and unused label configuration. No workflow retains pull_request_target.
  • Validate PRs with a read-only contents token and no persisted checkout credentials.
  • Build releases independently from trusted pushes to main/master; publish only for the matching merged PR with a manually applied Release or Pre-release label.
  • Restrict contents:write to the publication job and consume only artifacts from the same trusted push run.
  • Preserve upstream action SHA pins and existing Dependabot grouping/cooldown settings.
  • Document build-only artifacts, manual release labeling, publication verification, and troubleshooting.

Validation

  • actionlint passed.
  • All 17 Node regression tests passed, including absence of privileged PR triggers and merged-PR release eligibility/error cases.
  • git diff --check passed.

Scope and rollout

This dedicated branch is based on current upstream master and excludes unrelated application/testing changes from the development branch. No release labels are applied to this PR: merging should build but not publish. After merge, verify CI and Policy insights. No JIT-admin exception or exception-specific CodeQL/security approval is required for the removed event.

Live GitHub build/publication behavior has not yet been verified. This PR does not claim broader repository security certification.

Replace pull_request_target CI with read-only pull_request validation and trusted push releases. Remove the labeler, retain upstream action pins and Dependabot controls, document the manual release process, and add 17 policy regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation WorkFlow labels Oct 19, 2026
@jagilber
Jason Gilbertson (jagilber) merged commit 61d3685 into microsoft:master Oct 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation WorkFlow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant