diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3bf0e1b3..c351c6f24 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