From 1bbd7349d769718df0ba07c0004f6fd0a3233a64 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index d412743eb1..56f9c3cca4 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -1,7 +1,12 @@ 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: