-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (39 loc) · 1.01 KB
/
changelog.yaml
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
name: changelog
on:
push:
branches:
- 'main'
paths-ignore:
- CHANGELOG.md
jobs:
changelog:
name: Generate CHANGELOG
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate
uses: orhun/git-cliff-action@v3
id: git-cliff
with:
config: xenit-changelog.toml
args: --verbose 2023.10.2..
env:
GITHUB_REPO: ${{ github.repository }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
OUTPUT: CHANGELOG.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: "${{ secrets.GITHUB_TOKEN }}"
committer: GitHub <[email protected]>
commit-message: "Update CHANGELOG"
title: "doc: update CHANGELOG"
delete-branch: true
branch: update/CHANGELOG
labels: |
documentation
add-paths: |
CHANGELOG.md