From af81786d52dc24a44b5b0a98218c3dc1e571edc5 Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Thu, 18 Dec 2025 13:52:43 -0500 Subject: [PATCH] don't auto-check for all prs --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 36901f6..342ef1c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - master pull_request: workflow_dispatch: @@ -15,6 +14,9 @@ jobs: flake-check: name: Flake Check runs-on: [self-hosted, nix-builder] + # Only auto-run on main branch, PRs require workflow_dispatch + if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' + needs: [format-check] steps: - name: Checkout repository uses: actions/checkout@v4