Skip to content

Commit 2fff816

Browse files
committed
Prevent PRs on this repo
1 parent 49f1afc commit 2fff816

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/autoclose.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Close Pull Requests
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
# Pin to commit hash to avoid surprises via the action
12+
- uses: superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448
13+
with:
14+
comment: |
15+
We do not accept PRs on this repository. Please file an issue at
16+
https://github.com/python/cpython requesting an update to the
17+
source packages in this repository.

0 commit comments

Comments
 (0)