We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54fddae commit 837e421Copy full SHA for 837e421
action.yml
@@ -147,7 +147,12 @@ runs:
147
- name: "Vars: PR Closed/Merged"
148
shell: bash
149
run: |
150
- echo "IS_PR_CLOSED_OR_MERGED=${{ github.event.pull_request && (github.event.pull_request.closed_at || github.event.pull_request.merged) }}" >> $GITHUB_ENV
+ PR_CLOSED_OR_MERGED="${{ github.event.pull_request && (github.event.pull_request.closed_at || github.event.pull_request.merged) }}"
151
+ if [ -n "$PR_CLOSED_OR_MERGED" ] && [ "$PR_CLOSED_OR_MERGED" != "false" ]; then
152
+ echo "IS_PR_CLOSED_OR_MERGED=true" >> $GITHUB_ENV
153
+ else
154
+ echo "IS_PR_CLOSED_OR_MERGED=false" >> $GITHUB_ENV
155
+ fi
156
157
- name: "Vars: Prod or Preview"
158
0 commit comments