Lint code base (eslint) on "fix: #75 twist 関数で文字列の前方一致していたところを、キーの前方一致判定に変更" by mew-ton #126
Workflow file for this run
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 Code Base (eslint) | |
run-name: "Lint code base (eslint) on \"${{ github.event.pull_request.title }}\" by ${{ github.actor }}" | |
permissions: | |
contents: read | |
packages: read | |
pull-requests: write | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
eslint: | |
name: "Lint: ESLint" | |
if: | | |
(contains(github.event.pull_request.labels.*.name, 'renovate') && | |
contains(github.event.pull_request.labels.*.name, 'renovate:lint')) || | |
contains(github.event.pull_request.labels.*.name, 'renovate') == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/init-node | |
- name: eslint | |
uses: reviewdog/action-eslint@v1 | |
with: | |
eslint_flags: '--cache --ext .ts,.tsx,.js,.jsx,.mdx,.vue .' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |