From e2aac147e539f48b01e702a24fba8e6fa6666861 Mon Sep 17 00:00:00 2001 From: IntegerLimit <103940576+IntegerLimit@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:59:58 +1100 Subject: [PATCH] Fix Non Release Commit Workflow (#464) --- .github/workflows/releasecommit.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/releasecommit.yml b/.github/workflows/releasecommit.yml index 5073f79..3857f21 100644 --- a/.github/workflows/releasecommit.yml +++ b/.github/workflows/releasecommit.yml @@ -156,13 +156,11 @@ jobs: CFCORE_API_TOKEN: ${{ secrets.CFCORE_API_TOKEN }} - name: Update Files from Templates - if: ${{ inputs.not_release }} working-directory: ./tools run: | npx gulp updateTemplatesAll - name: Commit and Push Template Changes - if: ${{ inputs.not_release }} uses: "stefanzweifel/git-auto-commit-action@v4" id: "commit-template" with: @@ -170,7 +168,7 @@ jobs: commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - name: Throw Error if No Template Changes were Detected - if: ${{ inputs.not_release && steps.commit-template.outputs.changes_detected == 'false' }} + if: ${{ steps.commit-template.outputs.changes_detected == 'false' }} run: | echo "No Template Changes were detected. This may be an error." exit 1