Skip to content

Commit 13b8495

Browse files
authored
github actions fight me (#6)
1 parent f718b6c commit 13b8495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/release_to_prod/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ runs:
1212

1313

1414
- name: Do some release stuff for a hotfix
15-
if: contains(github.ref, 'hotfix')
15+
if: contains(github.ref, 'hotfix') == true
1616
run: |
1717
echo "this is the release script for a HOTFIX"
1818
shell: bash
1919

2020
- name: Warn about other branches
21-
if: !contains(github.ref, 'hotfix') && github.ref != 'refs/head/main'
21+
if: contains(github.ref, 'hotfix') == false && github.ref != 'refs/head/main'
2222
run: |
2323
echo "Can only release main or hotfix"
2424
shell: bash

0 commit comments

Comments
 (0)