Browse Source

Only run tests on pushes to main branch.

Dan Helfman 1 year ago
parent
commit
284f26b49d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .gitea/workflows/test.yaml

+ 3 - 1
.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: