Skip to content

Lint code base (eslint) on "chore: update pre-commit hook renovatebot/pre-commit-hooks to v37" by renovate[bot] #35

Lint code base (eslint) on "chore: update pre-commit hook renovatebot/pre-commit-hooks to v37" by renovate[bot]

Lint code base (eslint) on "chore: update pre-commit hook renovatebot/pre-commit-hooks to v37" by renovate[bot] #35

Workflow file for this run

---
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')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node
with:
node-version: 18.x
- name: eslint
uses: reviewdog/action-eslint@v1
with:
eslint_flags: '--cache --ext .ts,.tsx,.js,.jsx,.mdx,.vue .'
github_token: ${{ secrets.GITHUB_TOKEN }}