Repository navigation
ci(pr): label PRs from forks via workflow_run - #26711
Conversation
87d9601 to
559a319
Compare
|
@codex review |
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Merge activity
|
The Label PR workflow runs on `pull_request`, where the token is read-only for PRs from forks, so external PRs need area labels applied by hand (#26666 for example). `pull_request_target` was banned in #21566. Trigger the labeler from `workflow_run` on `Check PR` instead. The workflow file comes from the default branch, no PR code is checked out, and `actions/labeler` reads `labeler.yml` and the changed files through the API. The PR number is looked up by head branch and sha because `workflow_run.pull_requests` is empty for forks.
559a319 to
11ac2c3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 559a319602
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 235f3ee156
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The Label PR workflow runs on `pull_request`, where the token is read-only for PRs from forks, so external PRs need area labels applied by hand (#26666 for example). `pull_request_target` was banned in #21566. Trigger the labeler from `workflow_run` on `Check PR` instead. The workflow file comes from the default branch, no PR code is checked out, and `actions/labeler` reads `labeler.yml` and the changed files through the API. The PR number is looked up by head branch and sha because `workflow_run.pull_requests` is empty for forks.
235f3ee to
b01bcd9
Compare
The Label PR workflow runs on
pull_request, where the token is read-only for PRs from forks, so external PRs need area labels applied by hand (#26666 for example).pull_request_targetwas banned in #21566.Trigger the labeler from
workflow_runonCheck PRinstead. The workflow file comes from the default branch, no PR code is checked out, andactions/labelerreadslabeler.ymland the changed files through the API. The PR number is looked up by head branch and sha becauseworkflow_run.pull_requestsis empty for forks.