Skip to content

Commit 009ffea

Browse files
Change trigger rules to activate paths filter
Previously there were two trigger conditions (PRs and pushes to main). With the change all pushes (to PR branches or main) trigger it, and the `paths:` filter applies every time. This is a follow-up to #5364.
1 parent 80f8195 commit 009ffea

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

.github/workflows/arviz_compat.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: arviz-compatibility
22

33
on:
4-
pull_request:
54
push:
6-
branches: [main]
75
paths:
8-
- ".github/workflows/*"
6+
- ".github/workflows/**"
97
- "pymc/**"
108
- "setup.py"
119
- "pyproject.toml"

.github/workflows/jaxtests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: jax-sampling
22

33
on:
4-
pull_request:
54
push:
6-
branches: [main]
75
paths:
8-
- ".github/workflows/*"
6+
- ".github/workflows/**"
97
- "pymc/**"
108
- "setup.py"
119
- "pyproject.toml"

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: pre-commit
22

33
on:
4-
pull_request:
54
push:
6-
branches: [main]
75

86
jobs:
97
pre-commit:

.github/workflows/pytest.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: pytest
22

33
on:
4-
pull_request:
54
push:
6-
branches: [main]
75
paths:
8-
- ".github/workflows/*"
6+
- ".github/workflows/**"
97
- "pymc/**"
108
- "setup.py"
119
- "pyproject.toml"

0 commit comments

Comments
 (0)