File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : github@gumpri.ch
Original file line number Diff line number Diff line change 2323 uses : charmixer/auto-changelog-action@8095796
2424 env :
2525 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26-
27- - name : update inspec.yml
28- uses : mikefarah/yq@3.2.1
29- with :
30- cmd : yq w -I4 -i inspec.yml version ${{ steps.version.outputs.next-version }} && sed -i '1i---' inspec.yml
3126
3227 - name : Generate changelog
3328 uses : charmixer/auto-changelog-action@v1
3631 since_tag : ${{ steps.previoustag.outputs.tag }}
3732 future_release : ${{ steps.version.outputs.next-version }}
3833
34+ - name : update inspec.yml
35+ uses : mikefarah/yq@3.2.1
36+ with :
37+ cmd : yq w -I4 -i inspec.yml version ${{ steps.version.outputs.next-version }} && sed -i '1i---' inspec.yml
38+
39+ - name : push inspec.yml
40+ uses : github-actions-x/commit@v2.6
41+ with :
42+ github-token : ${{ secrets.GITHUB_TOKEN }}
43+ push-branch : ' master'
44+ commit-message : ' update inspec.yml'
45+ force-add : ' true'
46+ files : inspec.yml
47+ name : dev-sec CI
48+ email : github@gumpri.ch
49+
3950 - name : Read CHANGELOG.md
4051 id : package
4152 uses : juliangruber/read-file-action@v1
You can’t perform that action at this time.
0 commit comments