Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 63623f2

Browse files
Create lockdown.yml
1 parent ad7ffea commit 63623f2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎.github/workflows/lockdown.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'No more PRs'
2+
3+
on:
4+
issues:
5+
types: opened
6+
pull_request_target:
7+
types: opened
8+
schedule:
9+
- cron: '0 * * * *'
10+
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
jobs:
16+
action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: dessant/repo-lockdown@v2
20+
with:
21+
issue-comment: 'Python World does not accept issues on this repository anymore.'
22+
pr-comment: 'Python World does not accept pull requests on this repository anymore.'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /