CodeQL scanning #394
This file contains hidden or 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 scanning | |
| on: | |
| push: | |
| branches: | |
| - 'trunk' | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: | |
| - 'trunk' | |
| schedule: | |
| - cron: '0 8 * * 2' | |
| jobs: | |
| # Performs a code analysis using CodeQL. | |
| # | |
| # Performs the following steps: | |
| # - Checks out the repository. | |
| # - Initializes CodeQL. | |
| # - Performs CodeQL analysis. | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: ['javascript'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| # Initializes the CodeQL tools for scanning. | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 | |
| with: | |
| languages: ${{ matrix.language }} | |
| config-file: ./.github/codeql/codeql-config.yml | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 |