From 3e0f9f09e5c46072cd38d058eadc9b704b5605e1 Mon Sep 17 00:00:00 2001 From: Chris-godz <97298936+Chris-godz@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:52:50 +0800 Subject: [PATCH] Update verify-templating.yml --- .github/workflows/verify-templating.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify-templating.yml b/.github/workflows/verify-templating.yml index 1631af9..59178af 100644 --- a/.github/workflows/verify-templating.yml +++ b/.github/workflows/verify-templating.yml @@ -11,10 +11,14 @@ defaults: jobs: apply-templates: - name: Check For Uncomitted Changes + name: Check For Uncommitted Changes runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Discard all uncommitted changes + run: | + git reset --hard HEAD + git clean -fdx - name: Apply Templates run: ./apply-templates.sh - name: Check Git Status