diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-09-04 04:08:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 04:08:00 +0800 |
commit | 7a649ada09f61f6582892a6a574376a44878b79d (patch) | |
tree | a91c48dcc1395240b8de5bd547a3b5af4e3ce7a2 /.github | |
parent | a533e8fb525d869ccb9fefc1294899913e4c8f6c (diff) |
ci: only enforce Go checks for pushes to `main` branch
Otherwise would create duplicated GitHub Checks.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/go.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d906ec1e..42dac69a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,6 +1,7 @@ name: Go on: push: + branches: [main] paths: - '**.go' pull_request: |