Skip to content

Commit

Permalink
Update update-changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rxcod9 authored Dec 13, 2022
1 parent abb3d2b commit 7ed1412
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# .github/workflows/update-changelog.yaml
name: "Update Changelog"

on:
Expand All @@ -12,17 +13,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: main
ref: ${{ github.event.release.target_commitish }}

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
latest-version: ${{ github.event.release.tag_name }}
release-notes: ${{ github.event.release.body }}

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

0 comments on commit 7ed1412

Please sign in to comment.