More work on representing filter where its different for different #461
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: changelog-generator | |
on: [push] | |
jobs: | |
git-cliff-action: | |
runs-on: ubuntu-latest | |
name: Test the git-cliff changelog generator action | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate a changelog | |
id: git-cliff | |
uses: orhun/git-cliff-action@v2 | |
with: | |
config: fixtures/cliff.toml | |
args: --verbose --strip footer --exclude-path "CHANGELOG.md" | |
env: | |
OUTPUT: CHANGELOG.md | |
- name: Print the changelog | |
run: cat "${{ steps.git-cliff.outputs.changelog }}" | |
- name: Commit the changelog | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: "update changelog" | |
add: ${{ steps.git-cliff.outputs.changelog }} | |