diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d510d64b..49320dee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,6 +45,7 @@ jobs: with: install-only: true - name: Run Semantic Release + id: semantic_release uses: cycjimmy/semantic-release-action@v4 with: extra_plugins: | @@ -54,6 +55,7 @@ jobs: env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} - name: Run GoReleaser + if: steps.semantic_release.outputs.new_release_published == 'true' uses: goreleaser/goreleaser-action@v6 with: args: release --release-notes /tmp/release-notes.md --clean diff --git a/.github/workflows/reusable-go-ci.yaml b/.github/workflows/reusable-go-ci.yaml index 7c2dca9c..dc0bf93b 100644 --- a/.github/workflows/reusable-go-ci.yaml +++ b/.github/workflows/reusable-go-ci.yaml @@ -114,7 +114,7 @@ jobs: with: version: v2.1 working-directory: ${{ inputs.module }} - args: --timeout 5m --issues-exit-code=0 --config ../.golangci.yml + args: --timeout 5m --config ../.golangci.yml tests: name: "Tests & Coverage for ${{ inputs.module }}"