Skip to content

Commit 917e62c

Browse files
authored
[HC-1051] Validate workflow updates (#494)
* trigger only if content folder has been changed * update to actions/checkout@v4 * workflow name changed for clarity * path wildcard
1 parent 3bba9ea commit 917e62c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/workflow-validate.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
name: validate
1+
name: validate content
22

33
on:
44
repository_dispatch:
55
types: deploy
66
push:
77
branches:
88
- master
9+
paths:
10+
- 'content/**'
911
pull_request:
1012
types: [opened, synchronize, ready_for_review, reopened]
1113

@@ -14,7 +16,7 @@ jobs:
1416
runs-on: ubuntu-latest
1517

1618
steps:
17-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v4
1820

1921
- name: Markdownlint
2022
run: |
@@ -31,7 +33,7 @@ jobs:
3133
ZENDESK_PASS: ${{ secrets.ZENDESK_TOKEN }}
3234

3335
steps:
34-
- uses: actions/checkout@v1
36+
- uses: actions/checkout@v4
3537

3638
- name: Preview changes
3739
run: |

0 commit comments

Comments
 (0)