Files
git-cliff-action/.github/workflows/main.yml
Matteo Ferrando 4d60dd0dbe fix(args): handle quotes in passed args (#3)
* add ' to test

* separate git cliff args before passing

* file expansion
2022-11-19 20:20:33 +01:00

24 lines
591 B
YAML

name: Action Test
on: [push]
jobs:
git-cliff-action:
runs-on: ubuntu-latest
name: Test the git-cliff changelog generator action
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate a changelog
id: git-cliff
uses: ./
with:
config: fixtures/cliff.toml
args: --verbose --strip 'footer' --exclude-path '.github/**'
env:
OUTPUT: fixtures/CHANGELOG.md
- name: Print the changelog
run: cat "${{ steps.git-cliff.outputs.changelog }}"