Skip to content

Commit badce31

Browse files
author
Upkar Lidder
committed
adding GitHub action to close our PRs automatically
1 parent 761b9b5 commit badce31

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Close Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: superbrothers/close-pull-request@v3
12+
with:
13+
# Optional. Post a issue comment just before closing a pull request.
14+
comment: "We appreciate your contributions. However, please create PRs on your fork and not on the original project repository. Thank you!"

0 commit comments

Comments
 (0)