You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(workflow): finish trusted issue-policy migration after bootstrap #7
Add the distinct trusted status to the required checks while retaining verify; confirm protection is active and no bypass actors are added.
Prepare a separate Draft PR to remove the legacy pull_request workflow and update migration tests. The owner marks Ready, Codex reviews, and a human or explicitly approved agent merges.
Before removing the legacy workflow, retire its legacy required status only after the trusted check is active and passing. Never disable PR protection or substitute a fabricated status.
Current limitation
Bootstrap PR #4 deliberately retains the legacy validation. The security migration is incomplete until the trusted required check is active and the legacy workflow is retired.
Owner-authorized migration started. Added Trusted Issue-first PR (GitHub Actions integration 15368) to the active main ruleset alongside verify and the legacy Issue-first PR. Strict checks, PR/thread-resolution rules, force-push/deletion protection, and empty bypass actors were preserved. Effective branch rules were re-read after the update.
The main CI run 43604130139 was genuinely rerun (attempt 2). No synthetic success status was created. Historical merged-PR metadata jobs were not rerun because their linked issues are now closed. The new Draft PR will provide a real pull_request_target event using the base workflow.
Legacy context removal is gated on successful actual Trusted Issue-first PR and verify jobs for the new Draft PR current head. Legacy workflow removal is being prepared only on a work branch, with independent CLI review before push/PR. Ready conversion and merge remain owner-controlled.
Owner-authorized ruleset transition completed after validating this Draft PR head cafaa79:
Trusted check: run 43686546742, event pull_request_target, path .github/workflows/trusted-pr-policy.yml, current PR head, GitHub Actions app 15368, success. The run/check-suite mapping matched and exactly one check had this name.
Verify: run 43686546335, event pull_request, CI workflow, current PR head, app 15368, success; all four Node24/26 macOS/Ubuntu jobs passed typecheck/build/tests/package smoke.
Main CI rerun 43604130139 attempt 2 also completed successfully. No manually generated success statuses.
Removed only legacy Issue-first PR from required contexts. Effective main rules now require verify + Trusted Issue-first PR (both app 15368), with strict checks. All other protection rules are identical to the pre-transition snapshot: active main ruleset, PR/thread-resolution requirements, force-push/deletion restrictions, empty bypass actors, current-user bypass never.
Classic branch-protection API still returns 404; branch/rules APIs confirm active ruleset protection.
Source workflow deletion is only in this Draft PR; main still retains the legacy file until normal review and merge. No Ready conversion, merge, npm publication, or Worker deployment was performed. Observe the updated base workflow on the next legitimate PR after merge; pre-merge trusted success executes the existing base workflow, not this PR's updated copy.
Post-merge observation on a legitimate maintenance PR: PR #37 is based on main ae48fd3 (the #34 merge). Trusted policy run 43779667616 completed successfully with event pull_request_target, path .github/workflows/trusted-pr-policy.yml, PR head 9d11899. Job logs show read-only Contents/Issues/PullRequests token permissions, PR_NUMBER 37, and Issue-first PR policy passed. The setup-node input no longer contains package-manager-cache and the previous unsupported-input warning is absent. No legacy workflow or legacy check is present. This is the planned post-merge observation, not an adversarial test PR or fabricated status. Exact GITHUB_WORKFLOW_SHA remains un-emitted; the base SHA is the PR API observation, not the run head SHA.
Activity
abruption commentedon Nov 15, 2026
Owner-authorized migration started. Added Trusted Issue-first PR (GitHub Actions integration 15368) to the active main ruleset alongside verify and the legacy Issue-first PR. Strict checks, PR/thread-resolution rules, force-push/deletion protection, and empty bypass actors were preserved. Effective branch rules were re-read after the update.
The main CI run 43604130139 was genuinely rerun (attempt 2). No synthetic success status was created. Historical merged-PR metadata jobs were not rerun because their linked issues are now closed. The new Draft PR will provide a real pull_request_target event using the base workflow.
Legacy context removal is gated on successful actual Trusted Issue-first PR and verify jobs for the new Draft PR current head. Legacy workflow removal is being prepared only on a work branch, with independent CLI review before push/PR. Ready conversion and merge remain owner-controlled.
abruption commentedon Nov 15, 2026
Owner-authorized ruleset transition completed after validating this Draft PR head cafaa79:
Source workflow deletion is only in this Draft PR; main still retains the legacy file until normal review and merge. No Ready conversion, merge, npm publication, or Worker deployment was performed. Observe the updated base workflow on the next legitimate PR after merge; pre-merge trusted success executes the existing base workflow, not this PR's updated copy.
abruption commentedon Nov 16, 2026
Post-merge observation on a legitimate maintenance PR: PR #37 is based on main ae48fd3 (the #34 merge). Trusted policy run 43779667616 completed successfully with event pull_request_target, path .github/workflows/trusted-pr-policy.yml, PR head 9d11899. Job logs show read-only Contents/Issues/PullRequests token permissions, PR_NUMBER 37, and Issue-first PR policy passed. The setup-node input no longer contains package-manager-cache and the previous unsupported-input warning is absent. No legacy workflow or legacy check is present. This is the planned post-merge observation, not an adversarial test PR or fabricated status. Exact GITHUB_WORKFLOW_SHA remains un-emitted; the base SHA is the PR API observation, not the run head SHA.