chore(ci): update changelog generation workflow to target main branch
This commit is contained in:
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: [ next ]
|
branches: [ main ]
|
||||||
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 next
|
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git main
|
||||||
|
6688
CHANGELOG.md
6688
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user