diff options
author | Alexander Batashev <alexander.batashev@intel.com> | 2021-10-30 00:35:15 +0300 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-10-30 00:54:20 +0300 |
commit | 84ccf0b89120a4e1356e30c0c5e83643288b28c9 (patch) | |
tree | 0ec8ed34771d515237d2f4c9497a62f2f53cfb27 /.github | |
parent | 927c74d4dae5520ea83578261c1bd62eb1837d7d (diff) |
Disable lockdown for external forks by default
GitHub Actions can be used in external forks, and this
workflow breaks all pull-requests for those who use both
GitHub Pull Requests and GitHub Actions.
Reviewed By: tstellar
Differential Revision: https://reviews.llvm.org/D112801
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/repo-lockdown.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/repo-lockdown.yml b/.github/workflows/repo-lockdown.yml index af2e635930d4..f7b56907cbaf 100644 --- a/.github/workflows/repo-lockdown.yml +++ b/.github/workflows/repo-lockdown.yml @@ -9,6 +9,7 @@ permissions: jobs: action: runs-on: ubuntu-latest + if: github.repository == 'llvm/llvm-project' steps: - uses: dessant/repo-lockdown@v2 with: |