ci: another attempt to get generated changelog to write to repo

This commit is contained in:
Eric 2024-02-10 08:49:59 +11:00
parent fe0e21c5a6
commit f70e14024e
No known key found for this signature in database

View File

@ -10,17 +10,19 @@ jobs:
name: Generate changelog
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: master
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md
- name: Checkout
uses: actions/checkout@v3
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: master
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md