openOutpaint/.github/workflows/autoformat.yml
Victor Seiji Hariki 0625d4017e attempt 3
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

Former-commit-id: 459276fafc962d6298db9c6e1e8aa3d920714f2d
2022-11-22 19:38:55 -03:00

20 lines
468 B
YAML

name: Prettier Autoformatting
on:
pull_request:
branches: [main]
types: [opened, synchronize, closed]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Prettify
uses: creyD/prettier_action@v4.2
with:
prettier_options: --write **/*.{js,html,css,md}
only_changed: True