Skip to content

Commit cd8d555

Browse files
authored
Update .github/workflows/test.yml
1 parent 0929417 commit cd8d555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
if [[ "$URL" == *"/pull/"* ]]; then
114114
echo "Closing pull request: $URL"
115115
gh pr close "$URL" || echo "Failed to close pull request: $URL"
116-
branch="$(gh pr view "$URL" --json headRefName -q .headRefName || true)"
116+
branch="$(gh pr view "$URL" --json headRefName -q .headRefName)"
117117
if [[ -n "$branch" ]]; then
118118
echo "Deleting branch: $branch"
119119
git push "https://github.com/${{ env.TESTING_REPOSITORY }}" --delete "$branch" || echo "Failed to delete branch: $branch"

0 commit comments

Comments
 (0)