Skip to content

Commit 36d1c43

Browse files
authored
Disable unnecessary workflows for web changes (#1750)
Changes in `web/` shouldn't affect the remaining code. In particular this change doesn't affect the hashes of images created by `image.yaml`.
1 parent d6acccf commit 36d1c43

File tree

9 files changed

+29
-11
lines changed

9 files changed

+29
-11
lines changed

.github/workflows/coverage.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ name: Coverage
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
11+
paths-ignore:
12+
- 'web/**'
913

1014
permissions: read-all
1115

.github/workflows/image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
name: Create OCI image
33
on:
4-
pull_request:
4+
push:
55
branches:
66
- main
7-
paths-ignore:
8-
- 'docs/**'
9-
push:
7+
pull_request:
108
branches:
119
- main
10+
paths-ignore:
11+
- 'web/**'
1212

1313
permissions: read-all
1414

.github/workflows/lre.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Local Remote Execution
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/main.yml renamed to .github/workflows/main.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: CI
44
on:
55
push:
66
branches: [ main ]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [ main ]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/native-bazel.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Bazel Native
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/native-cargo.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Cargo Native
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/nix.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Nix
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/sanitizers.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Sanitizers
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

.github/workflows/templates.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ name: Templates
44
on:
55
push:
66
branches: [main]
7+
paths-ignore:
8+
- 'web/**'
79
pull_request:
810
branches: [main]
911
paths-ignore:
10-
- 'docs/**'
12+
- 'web/**'
1113

1214
permissions: read-all
1315

0 commit comments

Comments
 (0)