Skip to content

Commit

Permalink
Update auto_format_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kalcohol authored Feb 6, 2025
1 parent ac000c4 commit fbf1c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_format_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Check for changes
id: check_changes
run: |
git diff --exit-code
git diff --exit-code || echo "has_diff=true" >> $GITHUB_OUTPUT
- name: Commit changes
if: steps.check_changes.outputs.exit_code != 0
if: steps.check_changes.outputs.has_diff == 'true'
run: |
git config --local user.name "github-actions"
git config --local user.email "[email protected]"
Expand Down

0 comments on commit fbf1c34

Please sign in to comment.