Skip to content

Commit

Permalink
Change trigger rules to activate paths filter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michaelosthege committed Mar 18, 2022
1 parent 80f8195 commit ae77f7d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/arviz_compat.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: arviz-compatibility

on:
pull_request:
push:
branches: [main]
paths:
- ".github/workflows/*"
- "pymc/**"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/jaxtests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: jax-sampling

on:
pull_request:
push:
branches: [main]
paths:
- ".github/workflows/*"
- "pymc/**"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: pytest

on:
pull_request:
push:
branches: [main]
paths:
- ".github/workflows/*"
- "pymc/**"
Expand Down

0 comments on commit ae77f7d

Please sign in to comment.