Skip to content

Commit

Permalink
ci(prettier.yml): prettier action won't trigger a commit for it
Browse files Browse the repository at this point in the history
  • Loading branch information
allbertuu authored Feb 4, 2024
1 parent 266e585 commit 9cb09c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write **/*.{js,jsx,ts,tsx,tailwind.config.cjs,json,html,md}
commit_message: 'style: run prettier'
same_commit: true

0 comments on commit 9cb09c4

Please sign in to comment.