Browse Source

ci: only trigger test workflow on push for main branch

Nicolas Duchon 2 years ago
parent
commit
4655ba9f51
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/test.yml

+ 2 - 0
.github/workflows/test.yml

@@ -3,6 +3,8 @@ name: Tests
 on:
   workflow_dispatch:
   push:
+    branches:
+      - main
     paths-ignore:
       - "LICENSE"
       - "**.md"