Commit e040752
Ritchie
fix(ci): remove pull_request trigger from release-drafter workflow
The pull_request trigger was causing the Release Drafter action to fail
with a GitHub API validation error:
'Validation Failed: target_commitish = refs/pull/N/merge is invalid'
When triggered by a pull_request event, the action tries to set the
release's target_commitish to refs/pull/N/merge, which GitHub rejects
as an invalid ref for a release.
The pull_request trigger was only needed for autolabeler support, which
is not configured in this repo. Removing it fixes the recurring failures
and keeps the release draft updated only on push to main (the intended
behavior).
Fixes: workflow runs 23369773059 and 233697689981 parent 7dd59c8 commit e040752
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
| |||
0 commit comments