Skip to content

Commit af2e08b

Browse files
committed
ci(core): avoid duplicate PR test runs
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 66cad46 commit af2e08b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8+
# Trigger: PR branch pushes already publish commit statuses that show up on the PR.
9+
# Why: running the full matrix on both push and pull_request doubles CI time for the
10+
# exact same branch head commit.
11+
# Outcome: each branch push runs the test suite once, including PR updates.
812
push:
9-
pull_request:
10-
branches: [ "main" ]
1113

1214
jobs:
1315
static-checks:

0 commit comments

Comments
 (0)