Skip to content

Commit 4db912e

Browse files
committed
Restrict test workflow to main branch
Update GitHub Actions workflow to run tests only on pushes and pull requests targeting the main branch, instead of all branches.
1 parent 1d23095 commit 4db912e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Test Suite
22

33
on:
44
push:
5-
branches: ['**'] # Run on all branches
5+
branches: [main] # Only run on pushes to main
66
pull_request:
7-
branches: [main]
7+
branches: [main] # Run on all PRs to main
88

99
permissions:
1010
contents: read

0 commit comments

Comments
 (0)