We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda6bb2 commit 5d3be65Copy full SHA for 5d3be65
.github/workflows/promote-branch.yml
@@ -128,7 +128,7 @@ jobs:
128
run: |
129
set +e
130
131
- pull_request_exists=$(echo gh pr list --head ${{ env.current-branch }} --base ${{ env.target-branch }} --state 'open' --limit 1 --jq '.total_count')
+ pull_request_exists=$(echo gh pr list --head ${{ env.current-branch }} --base ${{ env.target-branch }} --state 'open' --limit 1 --json --jq '.total_count')
132
133
echo $pull_request_exists
134
0 commit comments