Skip to content

Commit 7d793d7

Browse files
committed
Use proper YAML syntax for deduplication in workflow
1 parent af6b4b3 commit 7d793d7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/validate.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@ name: YAML validation
22

33
on:
44
push:
5-
paths:
5+
paths: &filters
66
- 'elements/**/*.yaml'
77
- 'events/**/*.yaml'
88
- 'functions/**/*.yaml'
99
- 'schemas/**/*.yaml'
1010
pull_request:
11-
paths:
12-
- 'elements/**/*.yaml'
13-
- 'events/**/*.yaml'
14-
- 'functions/**/*.yaml'
15-
- 'schemas/**/*.yaml'
11+
paths: *filters
1612
workflow_dispatch:
1713

1814
jobs:

0 commit comments

Comments
 (0)