Skip to content

Changed prettier workflow to actually apply changes #828

Changed prettier workflow to actually apply changes

Changed prettier workflow to actually apply changes #828

Workflow file for this run

name: Prettier code formatter
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
jobs:
format:
# available images: https://github.com/actions/runner-images#available-images
runs-on: ubuntu-latest
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Prettier 💅🏽
uses: AbdulRehman-1/pr-prettier@initial
with:
only_changed: true
prettier_options: --write **/*.{css,html,js,json,liquid,md,scss,yaml,yml}
prettier_plugins: "@shopify/prettier-plugin-liquid"