Skip to content

Commit 5b11ab5

Browse files
committed
ci: auto close at read only repos
1 parent 5e03171 commit 5b11ab5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/auto_close.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Autocloser
2+
on: [issues, pull_request]
3+
jobs:
4+
autoclose:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Autoclose issues
8+
uses: roots/[email protected]
9+
with:
10+
repo-token: ${{ secrets.GITHUB_TOKEN }}
11+
issue-close-message: "@${issue.user.login} this repo is read only. Please post your issues or PR at https://github.com/openswoole/openswoole"
12+
issue-pattern: ".*READONLY REPO.*"

0 commit comments

Comments
 (0)