Skip to content

Commit 188c796

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 <jesse.whitehouse@databricks.com>
1 parent 9694e04 commit 188c796

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
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)