Commit da9f91b
Ritchie
fix(ci): remove pull_request trigger from release-drafter workflow
The pull_request trigger causes release-drafter/release-drafter@v7 to fail
with 'Validation Failed: invalid field target_commitish' because it tries to
update the draft release using the PR merge ref (refs/pull/N/merge) as the
target commitish, which GitHub rejects.
Since the autolabeler feature is not in use, the pull_request trigger serves
no purpose. Removing it so the workflow only runs on push to main, which is
the correct behavior for maintaining the release draft.
Fixes recurring failures on PRs: run IDs 23369773059, 23369768998, 231115929041 parent 7dd59c8 commit da9f91b
1 file changed
+4
-13
lines changed| 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