Skip to content

Commit 313a041

Browse files
committed
fix(codeql): restore valid matrix workflow
1 parent e062c10 commit 313a041

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,9 @@ jobs:
6464
analyze:
6565
name: Analyze (${{ matrix.name }})
6666
needs: detect
67-
if: >-
68-
(!github.event.repository.private || needs.detect.outputs.code_security == 'enabled') &&
69-
matrix.changed
67+
if: ${{ !github.event.repository.private || needs.detect.outputs.code_security == 'enabled' }}
7068
# Unchanged matrix entries only complete skipped steps; reserve a full
71-
# runner for analyzers that actually initialize and scan source. The
72-
# job-level condition also avoids provisioning a runner for skipped
73-
# matrix entries while preserving their required check conclusions.
69+
# runner for analyzers that actually initialize and scan source.
7470
runs-on: ${{ matrix.changed && 'ubuntu-latest' || 'ubuntu-slim' }}
7571
timeout-minutes: 30
7672
strategy:

0 commit comments

Comments
 (0)