Skip to content

Commit cb04936

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.
1 parent 1577814 commit cb04936

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/verify-templating.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,5 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Apply Templates
19-
run: ./apply-templates.sh
20-
- name: Check Git Status
21-
run: |
22-
status="$(git status --short)"
23-
[ -z "$status" ]
18+
- run: ./apply-templates.sh
19+
- run: git diff --exit-code

0 commit comments

Comments
 (0)