Skip to content

Commit 7085c9c

Browse files
committed
Simplify and update verify-templating.yml
This makes it print out a diff when there is an error (instead of just a list of files that are wrong), which will make the error more obvious. I also added `workflow_dispatch` so we can run it manually.
1 parent 297cb68 commit 7085c9c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/verify-templating.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Verify Templating
33
on:
44
pull_request:
55
push:
6+
workflow_dispatch:
67

78
defaults:
89
run:
@@ -14,9 +15,5 @@ jobs:
1415
runs-on: ubuntu-latest
1516
steps:
1617
- uses: actions/checkout@v4
17-
- name: Apply Templates
18-
run: ./apply-templates.sh
19-
- name: Check Git Status
20-
run: |
21-
status="$(git status --short)"
22-
[ -z "$status" ]
18+
- run: ./apply-templates.sh
19+
- run: git diff --exit-code

0 commit comments

Comments
 (0)