Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 6b1233b

Browse files
authored
Create main.yml
1 parent 9255b22 commit 6b1233b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: 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: 'changelog'
30+
commit-message: 'update changelog'
31+
force-add: 'true'
32+
files: CHANGELOG.md
33+
name: dev-sec CI
34+
email: github@gumpri.ch

0 commit comments

Comments
 (0)