Skip to content

Commit 4818045

Browse files
committed
fix conditional release workflow logic.
1 parent 462373f commit 4818045

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ permissions:
1010

1111
jobs:
1212
github-action:
13-
if: "!startsWith(github.event.name , 'v0.0.0-test.')" # Do not run for test releases created by test-include.yml and test-exclude.yml
13+
if: "!startsWith(github.event.release.name, 'v0.0.0-test.')" # Do not run for test releases created by test-include.yml and test-exclude.yml
1414
uses: cloudposse-github-actions/.github/.github/workflows/shared-release-branches.yml@main
1515
secrets: inherit

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
pr-comment-on-release:
1313
runs-on: ubuntu-default
14-
if: "startsWith(github.event.name , 'v0.0.0-test.')" # Match only releases created by test-include.yml and test-exclude.yml
14+
if: "startsWith(github.event.release.name, 'v0.0.0-test.')" # Match only releases created by test-include.yml and test-exclude.yml
1515
steps:
1616
- uses: actions/checkout@v4
1717

0 commit comments

Comments
 (0)