From e7ccd4bc5564b805e83f2dd9682f60e93744af73 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Fri, 25 Aug 2023 13:52:02 -0700 Subject: [PATCH] Fix typo in janitor script PiperOrigin-RevId: 560186596 --- .github/workflows/janitor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/janitor.yml b/.github/workflows/janitor.yml index e2626545ff..dd571751df 100644 --- a/.github/workflows/janitor.yml +++ b/.github/workflows/janitor.yml @@ -19,7 +19,7 @@ jobs: STALE_PRS=$(gh pr list --author "app/copybara-service" --limit 500 \ --json "number" --search "updated:<=$(date --date="-7 day" +%F)" \ | jq ".[].number") - for pr in $(STALE_PRS); do + for pr in "$STALE_PRS"; do echo "Closing #$pr..." gh pr close --comment "Auto-closing Copybara pull request" --delete-branch "$pr" done