# +-------------------------------------------------------------------------+ # | Copyright (C) 2004-2026 The Cacti Group | # +-------------------------------------------------------------------------+ # | Cacti: The Complete RRDtool-based Graphing Solution | # +-------------------------------------------------------------------------+ # | http://www.cacti.net/ | # +-------------------------------------------------------------------------+ # # CodeQL has no PHP analysis, so this covers the plugin JavaScript only. Nothing in # CI performs taint analysis on the PHP: plugin-ci-workflow.yml runs a parser check # and an install smoke test, neither of which tracks a value from request to sink. name: "CodeQL" on: push: branches: [main, develop] paths-ignore: - "**/*.md" pull_request: branches: [main, develop] paths-ignore: - "**/*.md" schedule: - cron: "30 1 * * 1" workflow_dispatch: concurrency: group: codeql-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: analyze: name: Analyze runs-on: ubuntu-latest timeout-minutes: 15 permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: ["javascript-typescript"] steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 with: languages: ${{ matrix.language }} - name: Autobuild uses: github/codeql-action/autobuild@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 with: category: "/language:${{ matrix.language }}"