Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork48
Close Pull Requests#4784
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| name:Close Pull Requests | |
| permissions: | |
| pull-requests:write | |
| on: | |
| pull_request: | |
| types: | |
| -opened | |
| schedule: | |
| -cron:'0 * * * *' | |
| workflow_dispatch: | |
| jobs: | |
| run: | |
| runs-on:ubuntu-latest | |
| steps: | |
| -name:Close Pull Requests | |
| run:> | |
| for pr in $(gh pr list --repo $REPO_NAME --json number --jq .[].number); do | |
| gh pr close --repo $REPO_NAME --comment "$COMMENT" $pr; | |
| done | |
| env: | |
| GH_TOKEN:${{ secrets.GITHUB_TOKEN }} | |
| REPO_NAME:python/cpython-source-deps | |
| COMMENT:> | |
| We do not accept PRs on this repository. Please file an issue at | |
| https://github.com/python/cpython requesting an update to the | |
| source packages in this repository. |