mirror of
https://github.com/docker-library/php.git
synced 2025-08-16 15:42:22 +00:00

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.
20 lines
337 B
YAML
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
|