Skip to content

Commit

Permalink
fix(ci): Update changelog.yml to new action
Browse files Browse the repository at this point in the history
Signed-off-by: macinsight <gh@macinsight.net>
  • Loading branch information
macinsight committed Nov 28, 2023
1 parent 5895aa7 commit 5872e8e
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
name: Generate changelog
name: Deploy

on:
push:
branches:
- ci

jobs:
generate-changelog:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout Code
uses: actions/checkout@v4

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1.9.0
with:
fetch-depth: 0
- uses: BobAnkh/auto-generate-changelog@v1.2.5
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
REPO_NAME: 'coavins/zomboid-coavins-firearms'
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
PATH: 'CHANGELOG.md'
COMMIT_MESSAGE: 'docs(CHANGELOG): update release notes'
TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'
branch: ci
commit_message: 'docs(changelog): update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md

0 comments on commit 5872e8e

Please sign in to comment.