Skip to content

Chore: contents read permission for unit tests #10658

Chore: contents read permission for unit tests

Chore: contents read permission for unit tests #10658

Workflow file for this run

name: Lint
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
eslint:
permissions:
checks: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/yarn
- uses: CatChen/eslint-suggestion-action@v2
with:
request-changes: true # optional
fail-check: true # optional
github-token: ${{ secrets.GITHUB_TOKEN }} # optional
directory: './' # optional
targets: 'src' # optional