Skip to content

Commit ebaae23

Browse files
authored
Merge pull request #3382 from vespa-engine/Virtual-branch-1
feat(workflows): expand path triggers for verifying guides (decrease noise)
2 parents f0ffd1b + 0952bfc commit ebaae23

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/verify-guides-large.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ on:
44
workflow_dispatch: # Allow manual triggering of this workflow.
55

66
push:
7-
paths: ["en/tutorials/"]
87
branches: ["master"]
8+
paths:
9+
- 'en/tutorials/**/*'
10+
- '.github/workflows/verify-guides.yml' # Reusable workflow
11+
- '.github/workflows/verify-guides-large.yml' # This workflow
912

1013
pull_request:
11-
paths: ["en/tutorials/"] # Enable before merge!
1214
branches: ["master"]
15+
paths:
16+
- 'en/tutorials/**/*'
17+
- '.github/workflows/verify-guides.yml' # Reusable workflow
18+
- '.github/workflows/verify-guides-large.yml' # This workflow
1319

1420
jobs:
1521
large:

.github/workflows/verify-guides-small.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,23 @@ on:
55

66
push:
77
branches: ["master"]
8+
paths:
9+
- '*.md'
10+
- '*.html'
11+
- '**/*.md'
12+
- '**/*.html'
13+
- '.github/workflows/verify-guides.yml' # Reusable workflow
14+
- '.github/workflows/verify-guides-small.yml' # This workflow
815

916
pull_request:
1017
branches: ["master"]
18+
paths:
19+
- '*.md'
20+
- '*.html'
21+
- '**/*.md'
22+
- '**/*.html'
23+
- '.github/workflows/verify-guides.yml' # Reusable workflow
24+
- '.github/workflows/verify-guides-small.yml' # This workflow
1125

1226
jobs:
1327
small:

0 commit comments

Comments
 (0)