name: Prettier

on:
  push:
    branches: [ master, next ]
  pull_request:
    branches: [ master, next ]

  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.head_ref }}

    - name: Prettify code
      uses: sebastianks/prettier_action@0.0.5
      with:
        dry: True
        prettier_options: --write **/*{.php,.md,.js,.css,.html}
        prettier_plugins: '@prettier/plugin-php'

name: Prettier

on:
  push:
    branches: [ master, next ]
  pull_request:
    branches: [ master, next ]

  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.head_ref }}

    - name: Prettify code
      uses: sebastianks/prettier_action@0.0.6
      with:
        dry: True
        prettier_options: --write **/*{.php,.md,.js,.css,.html}
        prettier_plugins: '@prettier/plugin-php'

Use new action with sh regex
Use new action with sh regex
