From af81786d52dc24a44b5b0a98218c3dc1e571edc5 Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Thu, 18 Dec 2025 13:52:43 -0500 Subject: [PATCH 1/3] 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 -- 2.39.5 From 75359032b19aad19d083dc6e9d8b3621ad1867fe Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Thu, 18 Dec 2025 13:54:23 -0500 Subject: [PATCH 2/3] change requirements --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 342ef1c..51c9431 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,7 +15,6 @@ jobs: 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 @@ -27,6 +26,7 @@ jobs: format-check: name: Format Check runs-on: [self-hosted, nix-builder] + if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' steps: - name: Checkout repository uses: actions/checkout@v4 -- 2.39.5 From 5eeaa48f091113dc9ef16b7a639a66b1ad74385e Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Thu, 18 Dec 2025 13:57:40 -0500 Subject: [PATCH 3/3] Revert "change requirements" This reverts commit 75359032b19aad19d083dc6e9d8b3621ad1867fe. --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 51c9431..342ef1c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: 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 @@ -26,7 +27,6 @@ jobs: format-check: name: Format Check runs-on: [self-hosted, nix-builder] - if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' steps: - name: Checkout repository uses: actions/checkout@v4 -- 2.39.5