CodeQL analysis #173
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
###################################################################### | |
# | |
# CodeQL analysis | |
# | |
# Perform a CodeQL analysis to identify potential security | |
# vulnerabilities in the code. | |
# | |
###################################################################### | |
name: CodeQL analysis | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: '0 3 * * 0' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae | |
with: | |
languages: javascript | |
queries: security-extended | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@df409f7d9260372bd5f19e5b04e83cb3c43714ae | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae |