Skip to content

Commit b779a30

Browse files
author
Jesse Whitehouse
committed
Fix: unit tests ran twice for every push to a pull request
This revision runs tests once for a pull request and once for any push to the main branch. Signed-off-by: Jesse Whitehouse <[email protected]>
1 parent 3012d7e commit b779a30

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/code-quality-checks.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Code Quality Checks
2-
on: [pull_request, push]
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
39
jobs:
410
run-unit-tests:
511
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)