Skip to content

Merge pull request #2 from step-security-bot/stepsecurity_remediation… #4

Merge pull request #2 from step-security-bot/stepsecurity_remediation…

Merge pull request #2 from step-security-bot/stepsecurity_remediation… #4

Workflow file for this run

name: reviewdog
on:
pull_request:
push:
branches:
- main
jobs:
eslint:
name: runner / eslint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0
- uses: ./
id: reporter
with:
cond: ${{ github.event_name == 'pull_request' }}
if_true: "github-pr-review"
if_false: "github-check"
- uses: reviewdog/action-eslint@7b82dea8533d382fa3c6ef95bcb1f1004f6b0a95 # v1.29.0
with:
github_token: ${{ secrets.github_token }}
eslint_flags: 'src/**/*.ts'
reporter: ${{ steps.reporter.outputs.value }}