소스 검색

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

Otherwise would create duplicated GitHub Checks.
ᴜɴᴋɴᴡᴏɴ 4 년 전
부모
커밋
7a649ada09
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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: