Skip to content

Commit

Permalink
ci: skip downstream tests and invalidation tests of PRs when changes …
Browse files Browse the repository at this point in the history
…are limited to `docs` dir
  • Loading branch information
ven-k committed Sep 28, 2023
1 parent 984c262 commit b021b92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [master]
tags: [v*]
pull_request:
paths-ignore:
- 'docs/**'

jobs:
test:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Invalidations

on:
pull_request:
paths-ignore:
- 'docs/**'

concurrency:
# Skip intermediate builds: always.
Expand Down Expand Up @@ -30,7 +32,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-invalidations@v1
id: invs_default

- name: Report invalidation counts
run: |
echo "Invalidations on default branch: ${{ steps.invs_default.outputs.total }} (${{ steps.invs_default.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit b021b92

Please sign in to comment.