Skip to content

CodeQL: scan python and actions alongside javascript-typescript - #82

Merged
MansiVisuals merged 1 commit into
devfrom
codeql-expand-languages
Aug 1, 2026
Merged

CodeQL: scan python and actions alongside javascript-typescript#82
MansiVisuals merged 1 commit into
devfrom
codeql-expand-languages

Conversation

@MansiVisuals

Copy link
Copy Markdown
Owner

Problem

CodeQL has been running reliably on this repo (last analysis 2026-07-29, weekly cron every Monday), but it only ever analysed javascript-typescript.

GitHub's language detection for this repo reports actions, javascript, javascript-typescript, python, and typescript. That leaves two things unscanned:

  • src/worker/external-notifications/apprise-runner.py
  • all seven files in .github/workflows/

The actions pack is not hypothetical — it's what surfaced a actions/missing-workflow-permissions alert in kopage-docker, and this repo has considerably more workflow surface.

Change

Converts the single job into a matrix over javascript-typescript, python, and actions. Each language gets its own analysis and its own SARIF category, which is what keeps the three result sets from overwriting each other in the Security tab.

fail-fast: false so one language failing doesn't cancel the others' uploads. Triggers, security-extended suite, and action versions are unchanged.

Notes

Expect the first run to open some actions alerts — most likely missing top-level permissions: blocks on the workflows that don't declare them.

GitHub detects python and actions code in this repo, but the analysis
only covered javascript-typescript, so the apprise-runner script and all
seven workflow files were never scanned. Convert the job to a matrix so
each language gets its own analysis and SARIF category.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@MansiVisuals
MansiVisuals merged commit b75ad10 into dev Aug 1, 2026
4 checks passed
@MansiVisuals
MansiVisuals deleted the codeql-expand-languages branch August 1, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant