Skip to content

Commit

Permalink
chore(generate.yml): remove unnecessary step to check for changes in …
Browse files Browse the repository at this point in the history
…commands.json

fix(generate.yml): allow commit and push step to continue even if there are errors to prevent workflow failure
  • Loading branch information
jandroav committed Jan 5, 2024
1 parent fe79f03 commit a35a9a4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,8 @@ jobs:
SPACELIFT_API_KEY_SECRET: ${{ secrets.SPACELIFT_API_KEY_SECRET }}
run: spacectl stack local-preview --id liquibase-github-actions --disregard-gitignore=true

- name: Check for commands.json changes
id: check_changes
run: |
git diff --exit-code || echo "Changes in commands.json found"
- name: Commit and push commands.json changes
if: steps.check_changes.outputs.code == '0'
continue-on-error: true
run: |
git config --global user.name "liquibot"
git config --global user.email "[email protected]"
Expand Down

0 comments on commit a35a9a4

Please sign in to comment.