Skip to content

change workflow, start when hit when-run button #2075

change workflow, start when hit when-run button

change workflow, start when hit when-run button #2075

name: PR Workflow
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: yarn install
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: '--ignore-pattern .eslintignore src/'