openOutpaint/.github/workflows/autoformat.yml

19 lines
406 B
YAML
Raw Normal View History

name: Prettier Autoformatting
on:
pull_request:
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