From 412e04ff4d6e0afd3cd8836d84e2f5d1292f3003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mich=C3=A9e=20Lengronne?= Date: Tue, 19 May 2020 16:21:30 +0200 Subject: [PATCH] CHANGELOG for RELEASE done before the push to avoid breaking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michée Lengronne --- .github/workflows/release.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e786d0..0da6430 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,14 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} 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 uses: mikefarah/yq@3.2.1 with: @@ -46,18 +54,11 @@ jobs: name: dev-sec CI 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 id: package uses: juliangruber/read-file-action@v1 with: - path: ./CHANGELOG.md + path: ./CHANGELOGRELEASE.md - name: Create Release draft id: create_release