Skip to content

Commit

Permalink
Calling a reusable workflow for update-changelog (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick authored May 1, 2022
1 parent 40c312f commit 4acec1d
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@ on:

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.target_commitish }}
token: ${{ secrets.ACCESS_TOKEN }}

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

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
uses: zingimmick/.github/.github/workflows/update-changelog.yml@main
secrets:
token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 4acec1d

Please sign in to comment.