Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Batashev <alexander.batashev@intel.com>2021-10-30 00:35:15 +0300
committerTom Stellard <tstellar@redhat.com>2021-10-30 00:54:20 +0300
commit84ccf0b89120a4e1356e30c0c5e83643288b28c9 (patch)
tree0ec8ed34771d515237d2f4c9497a62f2f53cfb27 /.github
parent927c74d4dae5520ea83578261c1bd62eb1837d7d (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.yml1
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: