From 5c8ca049e8f8890f449401437f31da6a2799f7e3 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 16 Sep 2025 16:40:38 +1000 Subject: [PATCH] Restrict CI on forks. - Don't do Windows CI on forks. (We already don't do Linux CI on forks.) - Don't do container image CI on forks. (We shouldn't be pushing container images to ghcr.io from forks!) - Remove the `if` condition in `deploy_guide.yml`. It has no effct because there is an `on: push: branches: - main` condition higher up doing the same thing (and in the more typical way). --- .github/workflows/ci_windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci_windows.yml b/.github/workflows/ci_windows.yml index 7cc3ff29..c166f025 100644 --- a/.github/workflows/ci_windows.yml +++ b/.github/workflows/ci_windows.yml @@ -5,6 +5,8 @@ on: paths-ignore: - "**.md" push: + branches: + - main paths-ignore: - "**.md"