]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: disable windows.yml by default on unofficials repo
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 18 Feb 2026 17:16:21 +0000 (18:16 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 18 Feb 2026 17:16:21 +0000 (18:16 +0100)
Disable the windows job for repository in repositories that are not in
the "haproxy" organization. This is mostly used for portability during
development and only making noise during the maintenance cycle.

Must be backported in every branches.

.github/workflows/windows.yml

index 3a6f4f80265fcc0937d8dbf3cc605aabf6eb5a2e..059443e71211b4f9c1a83deb4492761ae8e83e08 100644 (file)
@@ -18,6 +18,7 @@ jobs:
   msys2:
     name: ${{ matrix.name }}
     runs-on: ${{ matrix.os }}
+    if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
     defaults:
       run:
         shell: msys2 {0}