Skip to content

Commit d24c8dd

Browse files
committed
GitHub Actions: Only run tests on pushes to release/** branches
This prevents the tests from being run twice on pull requests since pull requests first require creating a new branch (which was also triggering CI runs).
1 parent 0f34f1b commit d24c8dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/commit-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Commit Tests
33
env:
44
release_major: 9
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches:
9+
- 'release/**'
10+
pull_request:
711

812
jobs:
913
build_llvm:

0 commit comments

Comments
 (0)