From 89c926f382e0019fa4f08486a59243cd5b3e1f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Doma=C5=84ski?= Date: Sun, 22 May 2022 17:42:18 +0200 Subject: [PATCH] don't run tests twice on PRs --- .github/workflows/go.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3d9a0ef..b0eda41 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,5 +1,10 @@ name: Go -on: [push, pull_request] +on: + push: + branches: + - main + - master + pull_request: jobs: build: