Skip to content

Commit

Permalink
Prevent tests running twice on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwinther committed Sep 7, 2023
1 parent 394fcab commit 40279fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion {{cookiecutter.project_name}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Tests

on: [push, pull_request]
on:
push:
branches:
- main
- master
pull_request:

jobs:
tests:
Expand Down

0 comments on commit 40279fe

Please sign in to comment.