Test Inkeep AI #8427
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |