Skip to contentSkip to conversation

do not lockdown github PRs submitted to forks of official mirror

PATCH New [email protected] 1 participant 1 message Apr 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 do not lockdown github PRs submitted to forks of official mirror

From: "Lauren N. Liberda" <[email protected]>

qemu forks on github are typically the way of work on changes to be upstreamed later, such as support for new devices. currently, the workflow prevents any external contributors from submitting code changes, and blindly points them to upstream instead.

---
 .github/workflows/lockdown.yml | 1 +
 1 file changed, 1 insertion(+)
.github/workflows/lockdown.yml +1 -0
index d5e1265cff..370f1c8f7e 100644
@@ -12,6 +12,7 @@ permissions:
 jobs:
   action:
     runs-on: ubuntu-latest
+    if: github.repository == 'qemu/qemu'
     steps:
       - uses: dessant/repo-lockdown@v2
         with:
Signature · 1 line
2.40.0