Skip to content

Commit

Permalink
fix(cliff): attempt to fix changelog.md file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DamChtlv authored May 7, 2024
1 parent 0de21f3 commit 8be5084
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
run-changelog-generator:
name: Run Changelog Generator (git-cliff)
runs-on: ubuntu-latest
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install git-cliff
uses: taiki-e/install-action@git-cliff

- name: Generate changelog
run: git-cliff
# with:
# config file location
# config: # optional, default is cliff.toml
# git-cliff arguments
# args: # optional, default is -v
uses: orhun/git-cliff-action@v3
id: git-cliff
with:
# config file location
config: cliff.toml
# git-cliff arguments - https://git-cliff.org/docs/usage/args
args: --bump -v # optional, default is -v

0 comments on commit 8be5084

Please sign in to comment.