Repository navigation
docs: warn that GitHub blocks pull_request_target from December 2 - #317
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Add event policy notice docs/fork-pr-comments.md |
The guidance explains that workflows need a policy allowing pull_request_target to continue running. It directs readers to allow the event for this workflow file only and states that the App does not require the policy. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other
Suggested labels: documentation
Merge Risk: 
Minimal · up to 4efb7
-
The notice explains the upcoming workflow restriction and how to configure an exception. No concrete merge-blocking risk was identified.
Pre-merge checks: 
4
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Commit Check✅ All 5 checks passed Show all 5 checkscommit-check 2.19.4 · Rules reference |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #317 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 661 661
=========================================
Hits 661 661
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Before: Fork pull requests offers a
pull_request_targetworkflow for posting comments on fork pull requests, with no word that GitHub starts blocking that event on December 2, 2026. A public repository that copies the example without adding an Actions policy finds the workflow no longer runs after that date.After: an IMPORTANT note right above the example says what changes on December 2 and where to allow the event (Settings → Actions → Policies, scoped to this one workflow file), with links to GitHub's changelog and the "Control workflow execution" docs. It also says the App needs no such policy.
How
docs/fork-pr-comments.md, nothing else changed. The README already points to this page forpull_request_target.pre-commit run --files docs/fork-pr-comments.mdpasses.Summary by CodeRabbit
pull_request_targetworkflows after December 2, 2026. The guidance recommends limiting the policy to the relevant workflow file and clarifies that the App does not require it.