Commit 7fa14de
fix: prevent ext-contribution label on release and github-actions PRs
The check-author job added the ext-contribution label to PR #9311
(release: 2026-07-06). Its opened event fired before the auto-pr label was
applied, so the existing !contains(labels, 'auto-pr') guard saw the empty
label snapshot and passed; since github-actions[bot] is not a team dev, the
label was added.
Guard on the head ref and author login instead - both are present in the
opened payload immediately, so they do not race asynchronous label creation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 56ba6de commit 7fa14de
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments