Skip to content

Commit b021b92

Browse files
committed
ci: skip downstream tests and invalidation tests of PRs when changes are limited to docs dir
1 parent 984c262 commit b021b92

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/Downstream.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches: [master]
55
tags: [v*]
66
pull_request:
7+
paths-ignore:
8+
- 'docs/**'
79

810
jobs:
911
test:

.github/workflows/Invalidations.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Invalidations
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'docs/**'
57

68
concurrency:
79
# Skip intermediate builds: always.
@@ -30,7 +32,7 @@ jobs:
3032
- uses: julia-actions/julia-buildpkg@v1
3133
- uses: julia-actions/julia-invalidations@v1
3234
id: invs_default
33-
35+
3436
- name: Report invalidation counts
3537
run: |
3638
echo "Invalidations on default branch: ${{ steps.invs_default.outputs.total }} (${{ steps.invs_default.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)