GitHub: Migrate Repo Lockdown to an action.
Repo Lockdown started out as a GitHub app[1], but has since been migrated to an action[2]. Update our config to match. Fixes #17692. [1] https://github.com/apps/repo-lockdown [2] https://github.com/dessant/repo-lockdown
This commit is contained in:
parent
16779dc43e
commit
77541af2df
|
@ -1,10 +1,26 @@
|
||||||
# Configure the Repo Lockdown GitHub App to automatically close pull requests.
|
# Configure the Repo Lockdown GitHub App to automatically close pull requests.
|
||||||
# See https://github.com/apps/repo-lockdown
|
# See https://github.com/dessant/repo-lockdown
|
||||||
|
|
||||||
pulls:
|
name: 'Repo Lockdown'
|
||||||
comment: |
|
|
||||||
Hi, thank you for your contribution!
|
|
||||||
|
|
||||||
GitHub is however not the right place for these, please have a look at
|
on:
|
||||||
<https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html>
|
pull_request_target:
|
||||||
for further instructions.
|
types: opened
|
||||||
|
schedule:
|
||||||
|
- cron: '7 * * * *'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
action:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/repo-lockdown@v2
|
||||||
|
with:
|
||||||
|
pr-comment: >
|
||||||
|
Hi, thank you for your contribution!
|
||||||
|
|
||||||
|
GitHub is however not the right place for these, please have a look at
|
||||||
|
<https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html>
|
||||||
|
for further instructions.
|
||||||
|
|
Loading…
Reference in New Issue