summaryrefslogtreecommitdiff
path: root/.github/workflows/repo-lockdown.yml
blob: 69e4d7de57de62bed34714d7721df3988aa15e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: 'Repo Lockdown'
on:
  pull_request_target:
    types: opened
    paths-ignore:
      - 'libcxx/**'
      - 'libcxxabi/**'
      - 'libunwind/**'
      - 'runtimes/**'

permissions:
  pull-requests: write

jobs:
  action:
    runs-on: ubuntu-latest
    if: github.repository == 'llvm/llvm-project'
    steps:
      - uses: dessant/repo-lockdown@v3
        with:
          process-only: 'prs'
          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.