Skip to content

Commit 9d29ac6

Browse files
authored
main: run respec.yaml only on changes to relevant files
1 parent b9c0963 commit 9d29ac6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/respec.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ name: respec
88
# on the gh-pages branch when the corresponding markdown files change.
99
#
1010

11-
# run this on push to main
11+
# run this on push to main for spec-relevant files
1212
on:
1313
push:
1414
branches:
1515
- main
16+
paths:
17+
- 'versions/*.md'
18+
- 'scripts/md2html/**'
19+
- '.github/workflows/respec.yaml'
20+
- 'package.json'
21+
- 'package-lock.json'
1622
workflow_dispatch: {}
1723

1824
jobs:

0 commit comments

Comments
 (0)