Skip to content

Commit 3eafe55

Browse files
committed
Add an explicit ternary for the release-requested value
1 parent 5c1d66d commit 3eafe55

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ jobs:
3636
outputs:
3737
upstream-repository-id: ${{ env.UPSTREAM_REPOSITORY_ID }}
3838
release-requested: >-
39-
${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
39+
${{
40+
(
41+
github.event_name == 'push'
42+
&& github.ref_type == 'tag'
43+
)
44+
&& true
45+
|| false
46+
}}
4047
steps:
4148
- name: Dummy
4249
run: |

0 commit comments

Comments
 (0)