Skip to content

github: Add prettier lint step. #3

github: Add prettier lint step.

github: Add prettier lint step. #3

Workflow file for this run

---
name: Lint markdown files prettier
on:
pull_request:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: creyD/[email protected]
with:
dry: true
prettier_options: **/*.md

Check failure on line 18 in .github/workflows/prettier.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/prettier.yaml

Invalid workflow file

You have an error in your yaml syntax on line 18
- name: Check for any diff
run: |
if ! git diff --exit-code; then
echo "Changes found!"
git status
git diff
exit 1
fi