Fix typo in janitor script

PiperOrigin-RevId: 560186596
pull/13696/head
Mike Kruskal 1 year ago committed by Copybara-Service
parent e59694d551
commit e7ccd4bc55
  1. 2
      .github/workflows/janitor.yml

@ -19,7 +19,7 @@ jobs:
STALE_PRS=$(gh pr list --author "app/copybara-service" --limit 500 \ STALE_PRS=$(gh pr list --author "app/copybara-service" --limit 500 \
--json "number" --search "updated:<=$(date --date="-7 day" +%F)" \ --json "number" --search "updated:<=$(date --date="-7 day" +%F)" \
| jq ".[].number") | jq ".[].number")
for pr in $(STALE_PRS); do for pr in "$STALE_PRS"; do
echo "Closing #$pr..." echo "Closing #$pr..."
gh pr close --comment "Auto-closing Copybara pull request" --delete-branch "$pr" gh pr close --comment "Auto-closing Copybara pull request" --delete-branch "$pr"
done done

Loading…
Cancel
Save