diff mbox series

do not lockdown github PRs submitted to forks of official mirror

Message ID 20230407164559.28357-1-lauren@selfisekai.rocks (mailing list archive)
State New, archived
Headers show
Series do not lockdown github PRs submitted to forks of official mirror | expand

Commit Message

lauren@selfisekai.rocks April 7, 2023, 4:45 p.m. UTC
From: "Lauren N. Liberda" <lauren@selfisekai.rocks>

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.

Signed-off-by: Lauren N. Liberda <lauren@selfisekai.rocks>
---
 .github/workflows/lockdown.yml | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml
index d5e1265cff..370f1c8f7e 100644
--- a/.github/workflows/lockdown.yml
+++ b/.github/workflows/lockdown.yml
@@ -12,6 +12,7 @@  permissions:
 jobs:
   action:
     runs-on: ubuntu-latest
+    if: github.repository == 'qemu/qemu'
     steps:
       - uses: dessant/repo-lockdown@v2
         with: