-
-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (43 loc) · 1.19 KB
/
changelog.yml
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
36
37
38
39
40
41
42
43
44
45
46
---
name: Changelog Generator
"on":
push:
branches: [master]
paths-ignore: CHANGELOG.md
pull_request:
branches: [master]
paths-ignore: CHANGELOG.md
jobs:
make_changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Generate changelog
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.PAT }}
stripGeneratorNotice: true
unreleased: true
issues: true
pullRequests: true
prWoLabels: true
excludeLabels: dependabot,test-requirements,wontfix
- name: Upload changelog
uses: actions/upload-artifact@v4
with:
name: CHANGELOG.zip
path: CHANGELOG.md
if-no-files-found: error
retention-days: 1
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Changelog
file_pattern: CHANGELOG.md
push_options: --force
if: github.event_name == 'push'