[PATCH] D112801: Disable lockdown for external forks by default

Alexander Batashev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 04:32:51 PDT 2021


alexbatashev created this revision.
alexbatashev added reviewers: tstellar, bader.
alexbatashev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112801

Files:
  .github/workflows/repo-lockdown.yml


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112801.383300.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211029/5fc250ac/attachment.bin>


More information about the llvm-commits mailing list