Skip to content

Commit

Permalink
Changelog fix
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin authored Aug 13, 2024
1 parent 7491ead commit 62e5924
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Update Changelog"

on:
workflow_dispatch:
release:
types: [ published, edited, deleted ]

Expand All @@ -13,17 +14,19 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.target_commitish }}
token: ${{ secrets.RAPIDEZ_ACTIONS_ACCOUNT_PAT }}

- name: Generate changelog
uses: justbetter/generate-changelogs-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repository: ${{ github.repository }}
sha: ${{ github.head_ref || github.ref_name }}

- name: Commit CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
file_pattern: CHANGELOG.md

0 comments on commit 62e5924

Please sign in to comment.