File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
.github/actions/release_to_prod Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1111 # echo "${{github.ref_name}}" -> 7/merge
1212 # git rev-parse --abbrev-ref HEAD -> HEAD
1313 run : |
14- echo "${{github.event.target_commitish}}"
15- echo "${{github.target_commitish}}"
14+ echo "${{github.event.release.target_commitish}}"
1615 echo "${{ toJson(github) }}"
1716 shell : bash
1817
@@ -24,13 +23,13 @@ runs:
2423
2524
2625 - name : Do some release stuff for a hotfix
27- if : contains(github.event.target_commitish, 'hotfix') == true
26+ if : contains(github.event.release. target_commitish, 'hotfix') == true
2827 run : |
2928 echo "this is the release script for a HOTFIX"
3029 shell : bash
3130
3231 - name : Warn about other branches
33- if : github.event.target_commitish != 'main'
32+ if : github.event.release. target_commitish != 'main'
3433 run : |
3534 echo "Can only release main or hotfix"
3635 shell : bash
You can’t perform that action at this time.
0 commit comments