-
Notifications
You must be signed in to change notification settings - Fork 16
41 lines (35 loc) · 1.1 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
name: Changelog Generator
# Controls when the action will run. Triggers the workflow on push or pull request events
on:
pull_request:
types: [closed]
release:
types: [published]
issues:
types: [closed, edited]
jobs:
build:
name: "Changelog Generator"
runs-on: ubuntu-latest
if: github.ref_protected != 'true'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: "Generate changelog"
id: changelog
uses: charmixer/[email protected]
with:
exclude_labels: "status: abandoned,type: duplicate,type: question,type: wontfix,type: invalid"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and push to dev
uses: EndBug/add-and-commit@v9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
add: "CHANGELOG.md"
message: "[skip ci] Updated CHANGELOG.md"
new_branch: dev
push: origin dev --set-upstream
committer_name: GitHub Actions
committer_email: [email protected]
default_author: github_actions