Skip to content

Commit 0c0d8bf

Browse files
authored
Disable some workflows on PRs that only change docs (#45)
This is a bit risky and we might want to reenable some of these, but let's see how this goes. Reasoning for the disabled workflows: - `main.yaml`: This is independent of docs - `native-bazel.yaml`: Dev-only workflow and covered by nix workflows. - `native-cargo.yaml`: Dev-only workflow and covered by nix workflows. - `sanitizers.yaml`: Independent of the docs. This change deliberately doesn't touch the Nix workflows as parts of the development tooling used by doc workflows relies on it.
1 parent 2e85c90 commit 0c0d8bf

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches: [ main ]
77
pull_request:
88
branches: [ main ]
9+
paths-ignore:
10+
- 'docs/**'
911

1012
permissions: read-all
1113

.github/workflows/native-bazel.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches: [main]
77
pull_request:
88
branches: [main]
9+
paths-ignore:
10+
- 'docs/**'
911

1012
permissions: read-all
1113

.github/workflows/native-cargo.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches: [main]
77
pull_request:
88
branches: [main]
9+
paths-ignore:
10+
- 'docs/**'
911

1012
permissions: read-all
1113

.github/workflows/sanitizers.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches: [main]
77
pull_request:
88
branches: [main]
9+
paths-ignore:
10+
- 'docs/**'
911

1012
permissions: read-all
1113

0 commit comments

Comments
 (0)