Commit 213ea32
Ritchie
fix(ci): remove pull_request trigger from release-drafter workflow
The release-drafter action fails when triggered on pull_request events
because it attempts to update the draft release with target_commitish
set to refs/pull/XXX/merge, which GitHub's API rejects with:
Validation Failed: {resource:Release, code:invalid, field:target_commitish}
The pull_request trigger is only needed for the autolabeler feature,
which is not configured in this repo. Removing it so the workflow only
runs on push to main, which is the correct and intended behavior.
Fixes recurring failures on runs: 23369773059, 23369768998, 231115929041 parent 684ee68 commit 213ea32
1 file changed
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 25 | + | |
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
| |||
0 commit comments