Skip to content

Commit 55dd56f

Browse files
authored
Lockdown Pull Requests on subrepositories (#7)
1 parent 4471bb3 commit 55dd56f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/lockdown.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Lock down Pull Requests'
2+
3+
on:
4+
pull_request:
5+
types: opened
6+
7+
jobs:
8+
lockdown:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/repo-lockdown@v2
12+
with:
13+
github-token: ${{ github.token }}
14+
close-pr: true
15+
lock-pr: true
16+
pr-comment: >
17+
Thanks for your pull request!
18+
19+
However, this repository does not accept pull requests,
20+
see the README for details.
21+
22+
If you want to contribute,
23+
you should instead open a pull request on the main repository:
24+
25+
https://github.com/yokai-php/batch-src
26+
27+
Thank you

0 commit comments

Comments
 (0)