mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 10:50:16 +00:00
docs: Add lockdown workflow
Add workflow to automatically close any issue or pull request
This commit is contained in:
parent
ecd75e77ab
commit
2f64b12ec1
1 changed files with 31 additions and 0 deletions
31
.github/workflows/lockdown.yaml
vendored
Normal file
31
.github/workflows/lockdown.yaml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: 'Repo Lockdown'
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: opened
|
||||
pull_request_target:
|
||||
types: opened
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/repo-lockdown@v4
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-comment: |
|
||||
Thank you for opening an issue however,
|
||||
PiVPN is in read-only mode, issues are not accepted.
|
||||
More info is available in the README.
|
||||
Github discussions is still available if you want help from community.
|
||||
|
||||
pr-comment: |
|
||||
Thank you for your pull request however,
|
||||
PiVPN is in read-only mode, pull requests are not accepted.
|
||||
More info is available in the README.
|
||||
Github discussions is still available if you want help from community.
|
||||
|
Loading…
Reference in a new issue