diff options
author | kylo252 <[email protected]> | 2021-12-11 20:21:42 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-12-11 20:54:45 +0100 |
commit | 162ed3417244e2e9a46c3d09e3dbe52392cf31ba (patch) | |
tree | 31209577c6f8939394ea3978202a27942b247d4c /.github/workflows/changelog.yml | |
parent | fc756d8151b2f55044b8049807d199fbfb01b3bf (diff) |
ci: add git-cliff integration
Diffstat (limited to '.github/workflows/changelog.yml')
-rw-r--r-- | .github/workflows/changelog.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 00000000..74b20dc7 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,22 @@ +name: changelog +on: release + +jobs: + changelog-gen: + name: Generate changelog + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - uses: orhun/git-cliff-action@v1 + with: + config: cliff.toml + args: -vv --latest --strip header -c .github/workflows/cliff.toml + env: + OUTPUT: CHANGELOG.md + + - name: Print the changelog + run: cat "${{ steps.git-cliff.outputs.changelog }}" |