Skip to content

Commit

Permalink
Only run on v1 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 21, 2024
1 parent d80b07c commit e4b4784
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 e4b4784

Please sign in to comment.