Skip to content

Commit 31921e4

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 b4e9e3a commit 31921e4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/verify-templating.yml

Lines changed: 3 additions & 6 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy