adds the verfy templating workflow

This commit is contained in:
Llewellyn van der Merwe 2021-08-26 15:32:42 +02:00
parent ee137cbaeb
commit 44935d6b2b
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
1 changed files with 22 additions and 0 deletions

22
.github/workflows/verify-templating.yml vendored Normal file
View File

@ -0,0 +1,22 @@
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@v2
- name: Apply Templates
run: ./apply-templates.sh
- name: Check Git Status
run: |
status="$(git status --short)"
[ -z "$status" ]