release trigger

Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com>
This commit is contained in:
Michée Lengronne 2020-05-19 15:46:10 +02:00
parent 3aaca7be98
commit a3156b23e0
2 changed files with 7 additions and 29 deletions

View file

@ -1,28 +0,0 @@
name: Create Changelog
on:
release:
types: [published]
jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog for master branch
steps:
- uses: actions/checkout@v1
- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: push
uses: github-actions-x/commit@v2.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'update changelog'
force-add: 'true'
files: CHANGELOG.md
name: dev-sec CI
email: hello@dev-sec.io

View file

@ -28,7 +28,6 @@ jobs:
uses: charmixer/auto-changelog-action@8095796 uses: charmixer/auto-changelog-action@8095796
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }} future_release: ${{ steps.version.outputs.next-version }}
- name: update inspec.yml - name: update inspec.yml
@ -47,6 +46,13 @@ jobs:
name: dev-sec CI name: dev-sec CI
email: hello@dev-sec.io email: hello@dev-sec.io
- name: Generate changelog for the release
uses: charmixer/auto-changelog-action@8095796
with:
token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }}
- name: Read CHANGELOG.md - name: Read CHANGELOG.md
id: package id: package
uses: juliangruber/read-file-action@v1 uses: juliangruber/read-file-action@v1