Commit 3cb45f8
Skip GitHub Packages publish for fork PRs (#363)
* Fix: Exclude fork PRs from GitHub Packages publishing
- Updated condition to check if PR is from same repository
- Added explanatory comments about security restrictions
- Fork PRs will skip publish step but still get build artifacts
- Update the permissions to allow pushing check results
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Jason Naylor <jason_naylor@sil.org>1 parent 640bb4c commit 3cb45f8
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
0 commit comments