Skip to content

CodeQL

CodeQL #1069

name: 'CodeQL'
on:
push:
branches:
- main
pull_request:
# The PR base branches below must be a subset of the push branches above
branches:
- main
# Only execute on PRs if relevant files changed
paths:
- '**/*.js'
- '.github/workflows/codeql-analysis.yml'
schedule:
- cron: '27 1 * * 0'
permissions:
actions: read
contents: read
security-events: write
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f3feb00acb00f31a6f60280e6ace9ca31d91c76a
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f3feb00acb00f31a6f60280e6ace9ca31d91c76a