Try to Update CI.yml to see if it fixes PRs #15
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: CI | ||
on: | ||
[pull_request] | ||
permissions: read-all | ||
jobs: | ||
eslint: | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: $${{ secret.sCTC_DEVOPS_ORG_PAT }} | ||
Check failure on line 11 in .github/workflows/CI.yml GitHub Actions / CIInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- run: yarn install | ||
- name: Run eslint with reviewdog | ||
uses: reviewdog/[email protected] | ||
with: | ||
github_token: ${{ secrets.CTC_DEVOPS_ORG_PAT }} | ||
reporter: github-pr-review | ||
fail_on_error: false | ||
eslint_flags: '**/*.{js,jsx}' | ||
detect-secrets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run detect-secrets with reviewdog | ||
uses: reviewdog/action-detect-secrets@master | ||
with: | ||
github_token: ${{ secrets.CTC_DEVOPS_ORG_PAT }} | ||
reporter: github-pr-review | ||
# Prevents false positives from failing job | ||
fail_on_error: false |