From 0343fa91d2d9085eb11024cf2a7191b7e6c24fb0 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Tue, 31 Mar 2026 19:33:16 -0700 Subject: [PATCH] fix: run unit tests on branch commits, skip main branch --- .gitea/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 798dd0e..7ba1182 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -4,6 +4,7 @@ on: push: branches: - '**' + - '!main' # Skip main branch (release workflow handles that) pull_request: branches: - main @@ -29,7 +30,7 @@ jobs: run: npm run test:run # Acceptance tests that don't require DB read/write - # These are safe to run on every commit + # Only run on pull requests to main safe-acceptance-tests: runs-on: ubuntu-latest needs: unit-tests