Merge pull request #131 from dev-sec/changelog_before

CHANGELOG for RELEASE done before the push to avoid breaking
This commit is contained in:
Michée lengronne 2020-05-19 16:28:09 +02:00 committed by GitHub
commit 97a14b83a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
future_release: ${{ steps.version.outputs.next-version }} future_release: ${{ steps.version.outputs.next-version }}
- 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 }}
output: CHANGELOGRELEASE.md
- name: update inspec.yml - name: update inspec.yml
uses: mikefarah/yq@3.2.1 uses: mikefarah/yq@3.2.1
with: with:
@ -46,18 +54,11 @@ 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
with: with:
path: ./CHANGELOG.md path: ./CHANGELOGRELEASE.md
- name: Create Release draft - name: Create Release draft
id: create_release id: create_release