We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f11008a commit 36d5ce5Copy full SHA for 36d5ce5
.github/workflows/autoclose.yaml
@@ -14,10 +14,12 @@ jobs:
14
steps:
15
- name: Close Pull Requests
16
run: >
17
- gh pr list --json number --jq .[].number
18
- | xargs -L1 gh pr close --comment "$COMMENT"
+ for pr in $(gh pr list --repo $REPO_NAME --json number --jq .[].number); do
+ gh pr close --repo $REPO_NAME --comment "$COMMENT" $pr;
19
+ done
20
env:
21
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
+ REPO_NAME: python/cpython-source-deps
23
COMMENT: >
24
We do not accept PRs on this repository. Please file an issue at
25
https://github.com/python/cpython requesting an update to the
0 commit comments