File tree 1 file changed +4
-2
lines changed
actions/commit_pr_and_merge
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,14 +88,16 @@ runs:
88
88
- name : Test
89
89
shell : bash
90
90
run : |
91
+ echo ${{ inputs.tag }}
92
+ echo ${{ inputs.tag != '' }}
91
93
echo ${{ github.event.inputs.tag }}
92
94
echo ${{ github.event.inputs.tag != '' }}
93
95
echo ${{ steps.changes.outputs.changes_exist }}
94
96
95
97
- name : Tag commit
96
98
uses : actions/github-script@v7
97
99
id : tag-commit
98
- if : (github.event. inputs.tag != '') && ( steps.changes.outputs.changes_exist == 'true')
100
+ if : ${{ inputs.tag != '' && steps.changes.outputs.changes_exist == 'true' }}
99
101
with :
100
102
script : |
101
103
const pr = (await github.rest.pulls.get({
@@ -128,7 +130,7 @@ runs:
128
130
129
131
- name : Print outputs
130
132
uses : actions/github-script@v7
131
- if : (github.event. inputs.tag != '') && ( steps.changes.outputs.changes_exist == 'true')
133
+ if : ${{ inputs.tag != '' && steps.changes.outputs.changes_exist == 'true' }}
132
134
with :
133
135
script : |
134
136
console.log('Result', '${{ steps.tag-commit.outcome }}');
You can’t perform that action at this time.
0 commit comments