mirror of
https://github.com/docker-library/postgres.git
synced 2025-04-19 11:42:18 +03:00
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.
This commit is contained in:
parent
1577814922
commit
cb049360d9
8
.github/workflows/verify-templating.yml
vendored
8
.github/workflows/verify-templating.yml
vendored
@ -15,9 +15,5 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Apply Templates
|
- run: ./apply-templates.sh
|
||||||
run: ./apply-templates.sh
|
- run: git diff --exit-code
|
||||||
- name: Check Git Status
|
|
||||||
run: |
|
|
||||||
status="$(git status --short)"
|
|
||||||
[ -z "$status" ]
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user