Skip to content

Commit 282120c

Browse files
Merge pull request #160 from dev-sec/micheelengronne-patch-3
Continously updated changelog
2 parents 84f69e6 + 30e8a02 commit 282120c

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/changelog.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Create Changelog
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
release:
8+
types: [published]
9+
10+
issues:
11+
types: [closed, edited]
12+
13+
jobs:
14+
generate_changelog:
15+
runs-on: ubuntu-latest
16+
name: Generate changelog for master branch
17+
steps:
18+
- uses: actions/checkout@v1
19+
20+
- name: Generate changelog
21+
uses: charmixer/auto-changelog-action@v1
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
- name: push
26+
uses: github-actions-x/commit@v2.6
27+
with:
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
push-branch: 'master'
30+
commit-message: 'update changelog'
31+
force-add: 'true'
32+
files: CHANGELOG.md
33+
name: dev-sec CI
34+
email: hello@dev-sec.io

0 commit comments

Comments
 (0)