Commit 45abcdd
committed
ci: open changelog PR instead of pushing to protected branch
The release-triggered Changelog workflow was pushing the CHANGELOG.md
update directly to 4.x via stefanzweifel/git-auto-commit-action. Branch
protection on 4.x ("Changes must be made through a pull request") rejects
that push, so every release since v4.0.10 has shipped without its
CHANGELOG entry.
Swap the commit-and-push step for peter-evans/create-pull-request, which
opens a PR from chore/changelog-<tag> with the skip-changelog label, then
enable auto-merge (squash) so the PR lands without human intervention.
4.x has no required status checks and 0 required reviews, so auto-merge
clears immediately.
Also tag the PR with skip-changelog so it's excluded from the next
release's auto-generated notes (per .github/release.yml).1 parent c6faa7a commit 45abcdd
1 file changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments