Add missing repo flag to close-issues (#54571)

This commit is contained in:
Jake Bailey
2023-06-07 20:39:11 -07:00
committed by GitHub
parent c4f1116e96
commit 849d8f3741

View File

@@ -33,7 +33,7 @@ jobs:
echo "Closing issues marked as '$1'."
for issue in $(gh issue list --label "$1" --repo ${{ github.repository }} --state open --search "updated:<$DATE" --json number --jq '.[].number'); do
echo "Closing https://github.com/${{ github.repository }}/issues/$issue"
gh issue close $issue --reason "not planned" --comment "This issue has been marked as '$1' and has seen no recent activity. It has been automatically closed for house-keeping purposes."
gh issue close $issue --repo ${{ github.repository }} --reason "not planned" --comment "This issue has been marked as '$1' and has seen no recent activity. It has been automatically closed for house-keeping purposes."
done
}