Skip to content

Commit

Permalink
Update prettier-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luciancah committed Aug 5, 2024
1 parent 5680142 commit d2294f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/prettier-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ jobs:
repo: context.repo.repo,
body: prettierReport
});
- name: Fail if Prettier found issues
if: steps.prettier-check.outcome == 'failure'
run: |
echo "Prettier found formatting issues. Please fix them and try again."
exit 1

0 comments on commit d2294f0

Please sign in to comment.