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@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 with: languages: ${{ matrix.language }} config-file: ./.github/codeql-config.yml - name: Autobuild uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 with: category: /language:${{matrix.language}}