From 7a20fd8f735c4caab4523aad8633f2d7e6c208bf Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 15 Nov 2022 19:14:02 +0000 Subject: [PATCH] skip changelog on tags --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70b69fb2..e8abc242 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,6 +101,8 @@ jobs: generate-changelog: name: "📢 Run towncrier for changelog" + # skip for builds of git tags + if: "!startsWith(github.ref, 'refs/tags/')" runs-on: ubuntu-latest steps: - name: "📥 Source checkout" @@ -138,6 +140,7 @@ jobs: npm i npm run get-proposals - name: "📥 Download generated changelog" + if: "needs.generate-changelog.result == 'success'" uses: actions/download-artifact@v3 with: name: changelog-artifact