Skip to content

Pin to Prettier 2.x for now #32

Pin to Prettier 2.x for now

Pin to Prettier 2.x for now #32

Workflow file for this run

name: Prettier
on: [push, pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: creyD/[email protected]
with:
prettier_version: 2.8.8
prettier_options: --write **/*.* --ignore-unknown
prettier_plugins: '@prettier/plugin-php'
commit_message: 'Run Prettier'