From 7e91ffa3d6a7272a2d00c9ffa9c3f1f03a2c0989 Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Fri, 29 Mar 2024 00:16:49 +0100 Subject: [PATCH] GH Actions: avoid double running on PRs from upstream branches --- .github/workflows/go.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b76147f..f6e13c7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,7 +1,9 @@ name: Go on: - - push - - pull_request + push: + branches: + - master + pull_request: {} jobs: test: