File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,6 @@ jobs:
127127 current-branch : ${{ github.ref_name }}
128128 target-branch : ${{ steps.set-target-branch.outputs.target-branch }}
129129 run : |
130- # set +e
131-
132-
133130 pull_request_count=$(gh pr list --head ${{ env.current-branch }} --base ${{ env.target-branch }} --state open --limit 1 --json id --jq '. | length')
134131
135132 if [[ $pull_request_count -eq 0 ]]; then
@@ -140,11 +137,7 @@ jobs:
140137 pull_request_exists="true"
141138 fi
142139
143- echo $pull_request_exists
144-
145- # echo "pull-request-exists=$pull_request_exists" >> $GITHUB_OUTPUT
146-
147- # set -e
140+ echo "pull-request-exists=$pull_request_exists" >> $GITHUB_OUTPUT
148141
149142 validate-promotion :
150143 name : ' Validate promotion'
You can’t perform that action at this time.
0 commit comments