diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ab03ed3..691fc79 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -6,12 +6,14 @@ on: pull_request: schedule: - cron: "17 5 * * 1" + workflow_dispatch: permissions: {} concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: analyze: + name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest timeout-minutes: 60 permissions: @@ -22,7 +24,9 @@ jobs: fail-fast: false matrix: # Add the repository's own languages here; "actions" scans these workflows. - language: [actions] + include: + - language: actions + build-mode: none steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -30,6 +34,8 @@ jobs: - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + queries: security-and-quality - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: category: /language:${{ matrix.language }}