From 284f26b49dfb2e2a93f237486993a5e84298ef1a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 6 Mar 2024 16:40:39 -0800 Subject: [PATCH] Only run tests on pushes to main branch. --- .gitea/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 571ea9d..6b882c9 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,6 +1,8 @@ name: test run-name: ${{ gitea.actor }} is running tests -on: [push] +on: + push: + branchs: [main] jobs: test: