From 16ad1ce12c5be6303c8147709ee5a3f965c332bb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 17 Apr 2022 21:05:23 -0700 Subject: [PATCH] Skip releaser if the tag doesn't contain a dash as part of the multi-os release flow --- .github/workflows/slsa-releaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slsa-releaser.yml b/.github/workflows/slsa-releaser.yml index 5778d2f..35fce8c 100644 --- a/.github/workflows/slsa-releaser.yml +++ b/.github/workflows/slsa-releaser.yml @@ -47,7 +47,7 @@ jobs: name: ${{ needs.build.outputs.go-binary-name }}.intoto.jsonl - name: Release uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 - if: startsWith(github.ref, 'refs/tags/') + if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, "-") }} with: files: | ${{ needs.build.outputs.go-binary-name }}