Commit bc85f30
Ritchie
ci: remove pull_request trigger from Release Drafter workflow
The pull_request trigger caused Release Drafter to fail with:
'Validation Failed: field target_commitish invalid'
This happens because on PR events, release-drafter uses refs/pull/N/merge
as target_commitish when updating the draft release, which the GitHub
Releases API rejects as an invalid ref.
The pull_request trigger is only needed for autolabeler functionality,
which is currently commented out in the workflow. Removing it fixes the
recurring failure while preserving all desired behavior (draft updates
happen on push to main).1 parent 684ee68 commit bc85f30
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments