Commit ccc1cd0
docs.yml: skip PR comment step on fork PRs instead of suppressing 403
Fork PR runs always get a read-only GITHUB_TOKEN regardless of the
permissions: block. The previous approach attempted the comment and
relied on continue-on-error to swallow the 403, leaving a red step.
Replace the condition with a same-repo guard so the step is simply
skipped for fork PRs. The comment will still post for PRs opened within
the bemanproject/optional repo itself.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent b30dec9 commit ccc1cd0
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | | - | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments