Skip to content

Commit 84d65be

Browse files
committed
scasc
1 parent 78182d4 commit 84d65be

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/promote-branch.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)