Skip to content

Commit 842f55d

Browse files
authored
Update main.yml
1 parent 77db4ab commit 842f55d

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
- name: Close Pull Request
2-
# You may pin to the exact commit or the version.
3-
# uses: superbrothers/close-pull-request@941c41e49ced0c13047ed30146e82bd762e907a9
4-
uses: superbrothers/[email protected]
5-
with:
6-
# Post a issue comment just before closing a pull request.
7-
comment: # optional
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 do not accept PRs. If you have any questions, please feel free to contact us."
15+

0 commit comments

Comments
 (0)