chore(ci): update changelog generation workflow to target 'next' branch
This commit is contained in:
parent
1c12cb98d9
commit
76c0f72141
1 changed files with 2 additions and 2 deletions
4
.github/workflows/generate-changelog.yml
vendored
4
.github/workflows/generate-changelog.yml
vendored
|
|
@ -2,7 +2,7 @@ name: Generate Changelog
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ next ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -33,4 +33,4 @@ jobs:
|
||||||
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
git add CHANGELOG.md
|
git add CHANGELOG.md
|
||||||
git commit -m "docs: update changelog"
|
git commit -m "docs: update changelog"
|
||||||
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main
|
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git next
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue