attempt 2 for prettier action
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com> Former-commit-id: 3182f66268eaf4d131def3337f6b1dad470cecd0
This commit is contained in:
parent
250c833895
commit
eb26b9adb6
1 changed files with 2 additions and 3 deletions
5
.github/workflows/autoformat.yml
vendored
5
.github/workflows/autoformat.yml
vendored
|
@ -1,9 +1,7 @@
|
||||||
name: Prettier Autoformatting
|
name: Prettier Autoformatting
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -17,3 +15,4 @@ jobs:
|
||||||
uses: creyD/prettier_action@v4.2
|
uses: creyD/prettier_action@v4.2
|
||||||
with:
|
with:
|
||||||
prettier_options: --write **/*.{js,html,css,md}
|
prettier_options: --write **/*.{js,html,css,md}
|
||||||
|
only_changed: True
|
||||||
|
|
Loading…
Reference in a new issue