Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,12 @@ jobs:
| while read -r URL; do
if [[ "$URL" == *"/pull/"* ]]; then
echo "Closing pull request: $URL"
branch="$(gh pr view "$URL" --json headRefName -q .headRefName)" || true
Comment thread
smockle marked this conversation as resolved.
Outdated
gh pr close "$URL" || echo "Failed to close pull request: $URL"
if [[ -n "$branch" ]]; then
echo "Deleting branch: $branch"
git push https://github.com/github/accessibility-scanner-testing --delete "$branch" || echo "Failed to delete branch: $branch"
Comment thread
smockle marked this conversation as resolved.
Outdated
fi
elif [[ "$URL" == *"/issues/"* ]]; then
echo "Closing issue: $URL"
gh issue close "$URL" || echo "Failed to close issue: $URL"
Expand Down