From e4b47840e923e965782b8b9471c9db02c1b660d9 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Wed, 21 Aug 2024 10:43:14 -0700 Subject: [PATCH] Only run on v1 tags --- .github/workflows/cd-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-release.yaml b/.github/workflows/cd-release.yaml index 4a34b215c8..0670a5767b 100644 --- a/.github/workflows/cd-release.yaml +++ b/.github/workflows/cd-release.yaml @@ -2,7 +2,7 @@ name: "[CD] Create release" on: push: tags: - - "*" + - "v1.*" jobs: build: @@ -18,7 +18,7 @@ jobs: run: scripts/release_schemas/create_cfn_schema_rule.py - name: Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/v1') with: files: | build/schemas-cfnlint.zip