name: Run CodeQL on: schedule: - cron: 0 0 * * * permissions: contents: read jobs: analyze: if: github.repository == 'nodejs/node' name: Analyze runs-on: ubuntu-slim permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [cpp, javascript, python] steps: - name: Checkout repository uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 with: languages: ${{ matrix.language }} config-file: ./.github/codeql-config.yml - name: Autobuild uses: github/codeql-action/autobuild@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 with: category: /language:${{matrix.language}}