Skip to content

Commit 7c66c80

Browse files
committed
Run workflow for pull requests
1 parent 1a9f868 commit 7c66c80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/validate.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: YAML validation
33
on:
44
push:
55
paths:
6-
- 'elements/**/*.yaml'
6+
- &files 'elements/**/*.yaml'
77
- 'events/**/*.yaml'
88
- 'functions/**/*.yaml'
99
- 'schemas/**/*.yaml'
10+
pull_request:
11+
paths:
12+
- *files
13+
workflow_dispatch:
1014

1115
jobs:
1216
validate:

0 commit comments

Comments
 (0)