CodeQL #1164
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: '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 |