Commit 5c9df5e
Fix PR automation permissions by using pull_request_target event
- Changed from pull_request to pull_request_target to fix fork permissions
- Added explicit PR head SHA checkout for proper code validation
- Resolves 'Resource not accessible by integration' errors
- Enables label adding and comment posting from forked PRs
This allows automation to work correctly for external contributors.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ad17276 commit 5c9df5e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments