Skip to content

Commit

Permalink
CI: ignore all .rst files in the repository (#5523)
Browse files Browse the repository at this point in the history
Following up on #5387, I think we should also ignore all `.rst` files in
the repository when we decide whether or not to run the CI workflows.

GitHub Actions syntax taken from the examples
[here](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#patterns-to-match-file-paths)
(see `'**.js'` example). Azure syntax to be tested.

If we merge this before #5522, we can test it (i.e., test that CI is
skipped) in #5522 after rebasing there.
  • Loading branch information
EZoni authored Jan 8, 2025
1 parent 1813753 commit 49a505b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pr:
paths:
exclude:
- Docs
- '**/*.rst'

jobs:
- job:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clangsanitizers
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clangtidy
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-cuda
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-hip
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/insitu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-intel
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-macos
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-ubuntu
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
paths-ignore:
- "Docs/**"
- "**.rst"

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-windows
Expand Down

0 comments on commit 49a505b

Please sign in to comment.