We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 949bb28 commit 0d1b3bdCopy full SHA for 0d1b3bd
.github/workflows/close-unknown.yml
@@ -0,0 +1,14 @@
1
+name: Close PRs from non-collaborators
2
+on:
3
+ pull_request_target:
4
+ types: [opened]
5
+
6
+jobs:
7
+ close-unauthorized:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Close PR
11
+ uses: superbrothers/close-pull-request@v3
12
+ with:
13
+ comment: "Thank you for your interest! We currently only accept PRs from invited collaborators."
14
+ if: github.event.pull_request.author_association == 'NONE'
0 commit comments