-
Notifications
You must be signed in to change notification settings - Fork 149
35 lines (29 loc) · 868 Bytes
/
Copy pathchangelog.yml
File metadata and controls
35 lines (29 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Changelog
on:
push:
branches:
- main
permissions:
contents: write
jobs:
update-changelog:
name: Generate and Commit CHANGELOG
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate CHANGELOG.md
uses: orhun/git-cliff-action@v4
with:
config: cliff.toml
args: --verbose --output CHANGELOG.md
- name: Commit and push CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: CHANGELOG.md
commit_message: "chore(changelog): update changelog [skip ci]"
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com