From e59dfd9c114bce141db0058cdccd7e872fe4cb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= Date: Mon, 8 Feb 2021 17:09:08 +0100 Subject: [PATCH] Modified conditions for workflow kick-off Previous conditions for workflow kick-off [push, pull-request] were causing start of two simultaneous workflows when new commit was pushed to an already open pull request. After the change such situation should start only one workflow. --- .github/workflows/client.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index d412743eb1..bcd8b15604 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -1,7 +1,11 @@ name: Go #TODO: extend the conditions once workflow gets tested together with other workflows -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: build-and-test: