Skip to content

Commit

Permalink
Prevent CI from running twice on PRs (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored Apr 18, 2023
1 parent 9f16c3e commit 6214333
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: tests

on: [push, pull_request]
on:
push:
branches: [ main ]
tags:
- '*'
pull_request:
branches: [ '*' ]

jobs:
linting:
Expand Down

0 comments on commit 6214333

Please sign in to comment.