Skip to content

Commit

Permalink
Ignore pushes to master branch
Browse files Browse the repository at this point in the history
Otherwise we end up running tests twice with each pull request, first
when submitting the pull request, then when pushing the pull request
into master.
  • Loading branch information
DimitriPapadopoulos committed Feb 19, 2021
1 parent e01a3ee commit 68ddf5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/openfortivpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Tests

on:
push:
branches-ignore: [master]
# Remove the line above to run when pushing to master

pull_request:
branches: [master]
Expand Down

0 comments on commit 68ddf5c

Please sign in to comment.