Thanks to visit codestin.com Credit goes to github.com
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 3e121e0 commit 36ad275Copy full SHA for 36ad275
scripts/deploy-pr.sh
@@ -71,8 +71,9 @@ fi
71
gh_auth
72
73
# get branch name and pr number
74
-branchName=$(gh pr view --json headRefName | jq -r .headRefName)
75
-prNumber=$(gh pr view --json number | jq -r .number)
+info=$(gh pr status --repo=coder/coder --json headRefName,number --jq '.createdBy[0]')
+branchName=$(echo "${info}" | jq -r .headRefName)
76
+prNumber=$(echo "${info}" | jq -r .number)
77
78
if [[ "$dryRun" = true ]]; then
79
echo "dry run"
0 commit comments