Skip to content

v3.0 edits

v3.0 edits #8625

Workflow file for this run

name: Lint JS files with Prettier
concurrency:
group: pullrequest-untrusted-prettierlint-${{ github.event.number }}
cancel-in-progress: true
# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Check for prettified code
uses: creyD/[email protected]
with:
dry: True
# This part is also where you can pass other options, for example:
prettier_options: --check docs/**/*.md
only_changed: True