2021-10-19 05:18:17 +08:00
|
|
|
name: 'Repo Lockdown'
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: opened
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
action:
|
2021-10-19 05:31:44 +08:00
|
|
|
runs-on: ubuntu-latest
|
2021-10-30 05:35:15 +08:00
|
|
|
if: github.repository == 'llvm/llvm-project'
|
2021-10-19 05:18:17 +08:00
|
|
|
steps:
|
|
|
|
- uses: dessant/repo-lockdown@v2
|
|
|
|
with:
|
|
|
|
process-only: 'prs'
|
2021-10-19 05:31:44 +08:00
|
|
|
pr-comment: >
|
|
|
|
This repository does not accept pull requests.
|
|
|
|
Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.
|