]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: NetBSD: allow "on: workflow_dispatch" in forks
authorIlia Shipitsin <chipitsine@gmail.com>
Thu, 27 Mar 2025 21:29:19 +0000 (22:29 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 28 Mar 2025 08:51:35 +0000 (09:51 +0100)
previously that build were limited to "haproxy" github organization
only. let's allow manual builds from forks

.github/workflows/netbsd.yml

index bb1c5cc85f9d5c88abf063fd82eb1746f274e288..b15a6dc9ac870245218b85f2d4d8c40d81e2537d 100644 (file)
@@ -8,7 +8,7 @@ on:
 jobs:
   gcc:
     runs-on: ubuntu-latest
-    if: ${{ github.repository_owner == 'haproxy' }}
+    if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
     permissions:
       contents: read
     steps: