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 dfa77d4 commit c549705Copy full SHA for c549705
.github/workflows/test.yml
@@ -109,8 +109,7 @@ jobs:
109
| while read -r URL; do
110
if [[ "$URL" == *"/pull/"* ]]; then
111
echo "Closing pull request: $URL"
112
- PR_NUMBER="${URL##*/}"
113
- branch="$(gh pr view "$PR_NUMBER" --repo github/accessibility-scanner-testing --json headRefName -q .headRefName)" || true
+ branch="$(gh pr view "$URL" --json headRefName -q .headRefName)" || true
114
gh pr close "$URL" || echo "Failed to close pull request: $URL"
115
if [[ -n "$branch" ]]; then
116
echo "Deleting branch: $branch"
0 commit comments