Skip to content

Commit

Permalink
update generate-changelog to commit the generated changelog using git…
Browse files Browse the repository at this point in the history
…-auto-commit-action
  • Loading branch information
sirkitree committed Nov 4, 2024
1 parent 9e01751 commit ec99548
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Generate Changelog
run: |
export PATH="$PATH:/home/runner/.local/share/gem/ruby/3.0.0/bin"
Expand All @@ -16,3 +18,9 @@ jobs:
-u ${{ github.repository_owner }} \
-p ${{ github.event.repository.name }} \
--token ${{ secrets.CHANGELOG_GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update changelog"
branch: ${{ github.head_ref }}
file_pattern: "CHANGELOG.md"
add_author: true

0 comments on commit ec99548

Please sign in to comment.