Skip to content

Commit

Permalink
Merge pull request #3 from kddejong/feature/schema/releases
Browse files Browse the repository at this point in the history
Only run on v1 tags
  • Loading branch information
kddejong authored Aug 21, 2024
2 parents a957b08 + e4b4784 commit 16c6b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "[CD] Create release"
on:
push:
tags:
- "*"
- "v1.*"

jobs:
build:
Expand All @@ -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
Expand Down

0 comments on commit 16c6b8b

Please sign in to comment.