Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

chore(deps): bump actions/checkout from 3 to 4 #4

chore(deps): bump actions/checkout from 3 to 4

chore(deps): bump actions/checkout from 3 to 4 #4

Workflow file for this run

name: ESLint
on:
push:
branches: [ "main" ]
paths:
- "scripts/**"
- ".github/workflows/eslint.yml"
pull_request:
branches: [ "main" ]
paths:
- "scripts/**"
- ".github/workflows/eslint.yml"
schedule:
# Run at 1:45am every Wednesday
- cron: '45 1 * * 3'
workflow_dispatch:
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install ESLint
working-directory: scripts
run: npm install
- name: Run ESLint
working-directory: scripts
run: npx eslint .
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: scripts/eslint-results.sarif
wait-for-processing: true