Skip to content

Commit

Permalink
ci(fix-formatting): avoid error if there are no changes to commit
Browse files Browse the repository at this point in the history
addresses #1883 (comment)
  • Loading branch information
gr2m committed Feb 16, 2020
1 parent 29eed05 commit 7fae3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Expand Up @@ -44,7 +44,7 @@ jobs:
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
git add .
git commit -m "style: format files with Prettier"
git commit -m "style: format files with Prettier" | true # ignore error if there are no changes to commit
git push origin HEAD:${{ github.head_ref }}
format:
name: Format
Expand Down

0 comments on commit 7fae3c8

Please sign in to comment.