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 0929417 commit cd8d555Copy full SHA for cd8d555
.github/workflows/test.yml
@@ -113,7 +113,7 @@ jobs:
113
if [[ "$URL" == *"/pull/"* ]]; then
114
echo "Closing pull request: $URL"
115
gh pr close "$URL" || echo "Failed to close pull request: $URL"
116
- branch="$(gh pr view "$URL" --json headRefName -q .headRefName || true)"
+ branch="$(gh pr view "$URL" --json headRefName -q .headRefName)"
117
if [[ -n "$branch" ]]; then
118
echo "Deleting branch: $branch"
119
git push "https://github.com/${{ env.TESTING_REPOSITORY }}" --delete "$branch" || echo "Failed to delete branch: $branch"
0 commit comments