Skip to content

Commit e578ddf

Browse files
committed
Only trigger CI builds on master branch and pull requests
If we trigger on every branch we will have redundant CI runs for branches with pull requests.
1 parent 16e8470 commit e578ddf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: CI
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches: ["master"]
5+
pull_request:
6+
37
jobs:
48
tests:
59
name: "Python ${{ matrix.python-version }}"

0 commit comments

Comments
 (0)