Commit 02a0079
Ritchie
fix(ci): remove pull_request trigger from release-drafter workflow
The release-drafter was triggering on every PR open/sync, which caused
a 'Validation Failed: invalid target_commitish' error because
refs/pull/*/merge is not a valid target for updating a release draft.
The autolabeler feature is not configured (commented out), so the
pull_request trigger served no purpose. Removing it so the workflow
only runs on pushes to main, which is the intended behavior.
Fixes: 'Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}'1 parent 7b891bf commit 02a0079
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
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