Files
php-docker-library/.github/workflows/verify-templating.yml
Tianon Gravi acb09f65fd 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.
2024-12-13 15:02:49 -08:00

20 lines
337 B
YAML

name: Verify Templating
on:
pull_request:
push:
workflow_dispatch:
defaults:
run:
shell: 'bash -Eeuo pipefail -x {0}'
jobs:
apply-templates:
name: Check For Uncomitted Changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./apply-templates.sh
- run: git diff --exit-code