Skip to content

Commit

Permalink
Update screenshot-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Aug 19, 2023
1 parent 7d391b0 commit a70c522
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/screenshot-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ jobs:
find output -type f -name "*.svg" -exec rsvg-convert {} -o {}.png \;
find output -type f -name "*.svg" -exec rm -f {} \;
- name: Check if there are any changes
id: verify_diff
run: |
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit & Push
if: steps.verify_diff.outputs.changed == 'true'
run: |
git config user.name "github-actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit a70c522

Please sign in to comment.