Skip to content

Commit 93d41f1

Browse files
author
addwiki-ci
committed
Switch from repo-lockdown to close-all-prs
1 parent c85d199 commit 93d41f1

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

.github/workflows/close-all-prs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Close All Pull Requests
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
jobs:
10+
run:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: crondaemon/close-pr@v1
14+
with:
15+
comment: |
16+
Hi, thank you for your contribution.
17+
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
18+
We'd like to kindly ask you to move the contribution there - https://github.com/addwiki/addwiki.
19+
You'll find the code that you have just changed in one of the 'packages' directories
20+
We'll check it, review it and give you feed back.
21+
Thank you
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/repo-lockdown.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)