From 031241e0b87002c537c28fcd787e4708288773a6 Mon Sep 17 00:00:00 2001 From: Nguyen Tran Hau Date: Sun, 11 Apr 2021 16:17:55 +0700 Subject: [PATCH] chore: only run github action on main branch (#8) Co-authored-by: Tran Hau --- .github/workflows/go.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 7627695..a7aaef0 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -1,6 +1,12 @@ name: Go -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: test: