Skip to content

Commit e095329

Browse files
authored
ci: don't run non-wheel workflows when only pyproject.toml changes (#4997)
Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent 493342a commit e095329

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
- '!**/scorecard.yml'
2727
- '!**/wheel.yml'
2828
- '!**.properties'
29+
- '!pyproject.toml'
2930
- '!docs/**'
3031
# Run analysis on PRs only if the branch name indicates that the purpose of
3132
# the PR is related to the Sonar analysis. We don't run on every PR because

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- '!**/scorecard.yml'
1717
- '!**/wheel.yml'
1818
- '!**.properties'
19+
- '!pyproject.toml'
1920
- '!docs/**'
2021
pull_request:
2122
paths:

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- '**/run.py'
2121
- 'src/build-scripts/**'
2222
- './*.md'
23+
- 'pyproject.toml'
2324
pull_request:
2425
paths-ignore:
2526
- '**/ci.yml'
@@ -33,6 +34,7 @@ on:
3334
- '**/run.py'
3435
- 'src/build-scripts/**'
3536
- './*.md'
37+
- 'pyproject.toml'
3638
schedule:
3739
# Full nightly build
3840
- cron: "0 8 * * *"

0 commit comments

Comments
 (0)