mirror of
https://github.com/danog/php.git
synced 2024-11-30 04:29:16 +01:00
7035056b07
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands - https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
23 lines
426 B
YAML
23 lines
426 B
YAML
name: Verify Templating
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
defaults:
|
|
run:
|
|
shell: 'bash -Eeuo pipefail -x {0}'
|
|
|
|
jobs:
|
|
apply-templates:
|
|
name: Check For Uncomitted Changes
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Apply Templates
|
|
run: ./apply-templates.sh
|
|
- name: Check Git Status
|
|
run: |
|
|
status="$(git status --short)"
|
|
[ -z "$status" ]
|