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
This commit is contained in:
Alexander Batashev 2021-10-29 14:35:15 -07:00 committed by Tom Stellard
parent 927c74d4da
commit 84ccf0b891
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ permissions:
jobs:
action:
runs-on: ubuntu-latest
if: github.repository == 'llvm/llvm-project'
steps:
- uses: dessant/repo-lockdown@v2
with: