a cache for slack profile pictures and emojis
1name: Generate Changelog
2on:
3 release:
4 types: [published]
5 branches: [master]
6permissions:
7 contents: write
8env:
9 GH_TOKEN: ${{ github.token }}
10jobs:
11 generate_changelog:
12 runs-on: ubuntu-latest
13 name: Generate Changelog
14 steps:
15 - name: Check out repository
16 uses: actions/checkout@v3
17 with:
18 fetch-depth: 0
19
20 - name: Generate a changelog
21 uses: orhun/git-cliff-action@v4
22 with:
23 config: cliff.toml
24 args: --verbose --latest
25 env:
26 OUTPUT: CHANGELOG.md
27 GITHUB_REPO: ${{ github.repository }}
28
29 - name: Add changelog to release
30 run: gh release edit ${{ github.event.release.tag_name }} -F CHANGELOG.md