Skip to content

Commit

Permalink
Update prettier.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjharder authored Jan 14, 2024
1 parent da0b85a commit 5e6de23
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: 'Format with Prettier'
on:
pull_request:
branches: [master]

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Prettify code
uses: creyD/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
prettier_options: --write **/*.{md,mdx}
only_changed: True
only_changed: True

0 comments on commit 5e6de23

Please sign in to comment.