Skip to content

Commit

Permalink
Modified conditions for workflow kick-off
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michalinacienciala committed Feb 8, 2021
1 parent ab6fdea commit e59dfd9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/client.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit e59dfd9

Please sign in to comment.