From 44935d6b2bd628e36831011d2ab9a0e40e49849b Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Thu, 26 Aug 2021 15:32:42 +0200 Subject: [PATCH] adds the verfy templating workflow --- .github/workflows/verify-templating.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/verify-templating.yml diff --git a/.github/workflows/verify-templating.yml b/.github/workflows/verify-templating.yml new file mode 100644 index 0000000..1f0761f --- /dev/null +++ b/.github/workflows/verify-templating.yml @@ -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" ] \ No newline at end of file