Browse Source

ci: only enforce Go checks for pushes to `main` branch

Otherwise would create duplicated GitHub Checks.
ᴜɴᴋɴᴡᴏɴ 4 years ago
parent
commit
7a649ada09
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/go.yml

+ 1 - 0
.github/workflows/go.yml

@@ -1,6 +1,7 @@
 name: Go
 on:
   push:
+    branches: [main]
     paths:
       - '**.go'
   pull_request: