Skip to content

Commit

Permalink
Fix Non Release Commit Workflow (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Oct 20, 2023
1 parent 8d8e944 commit e2aac14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/releasecommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,21 +156,19 @@ 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:
commit_message: "Update Issue, Server and RP Config Files from Templates\n\n[SKIP]"
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

0 comments on commit e2aac14

Please sign in to comment.