]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: skip scheduled builds on forks
authorIlya Shipitsin <chipitsine@gmail.com>
Wed, 21 Feb 2024 16:05:39 +0000 (17:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Mar 2024 10:50:34 +0000 (11:50 +0100)
tracking bleeding edge changes with some rare platforms or modern
compilers on scheduled basis is not what usually forks do. let's
skip by default in forks, if some fork is interested, it might be
enabled locally

.github/workflows/cross-zoo.yml
.github/workflows/fedora-rawhide.yml

index d9864e298149ace1abb96eedc54871928038e5d1..5abd9cbcd22b45274268c5bd382a138306072328 100644 (file)
@@ -90,6 +90,7 @@ jobs:
           }
         ]
     runs-on: ubuntu-latest
+    if: ${{ github.repository_owner == 'haproxy' }}
     steps:
     - name: install packages
       run: |
index 8f2578154ad53f487f24a735cbcd32f71388c222..1bb274557db83aeeb5ea1de118e512bce8515385 100644 (file)
@@ -14,6 +14,7 @@ jobs:
         cc: [ gcc, clang ]
     name: ${{ matrix.cc }}
     runs-on: ubuntu-latest
+    if: ${{ github.repository_owner == 'haproxy' }}
     container:
       image: fedora:rawhide
     steps: