openOutpaint/.github/workflows/autoformat.yml
2022-11-29 20:08:22 -06:00

20 lines
437 B
YAML

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