test: bypass probe (ADDON-89092, will be closed)#217
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7b4519627e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| - name: Attempt merge without review | ||
| id: merge | ||
| run: | | ||
| if gh pr merge "${{ steps.create.outputs.pr_url }}" --squash --delete-branch; then |
There was a problem hiding this comment.
Remove the repeatable admin-token merge path
When anyone able to push test/verify-bypass-89092 adds commits to that branch, the push trigger checks out those commits, creates a new branch from them, and this command merges the resulting PR into main using GH_TOKEN_ADMIN without review. Leaving this throwaway probe installed therefore turns the fixed trigger branch into a reusable path for merging arbitrary changes while bypassing the repository's CODEOWNERS protection; remove or disable the workflow after the one-time test.
Useful? React with 👍 / 👎.
|
🎉 This PR is included in version 3.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Throwaway PR verifying whether srv-rr-github-token's bypass_pull_request_allowances lets GH_TOKEN_ADMIN merge without review. Safe to close/delete if left open.