Skip to content

ci(CodeQL): only run on relevant JS/TS and workflow changes#59483

Draft
joshtrichards wants to merge 1 commit intomasterfrom
jtr/ci-perf-codeql-filter
Draft

ci(CodeQL): only run on relevant JS/TS and workflow changes#59483
joshtrichards wants to merge 1 commit intomasterfrom
jtr/ci-perf-codeql-filter

Conversation

@joshtrichards
Copy link
Copy Markdown
Member

@joshtrichards joshtrichards commented Apr 7, 2026

  • Resolves: #

Summary

Only run the CodeQL workflow for changes relevant to the analyzers configured here:

  • GitHub Actions
  • JavaScript / TypeScript

PHP is covered by other tooling, so there is no need to run this workflow on unrelated PHP-only changes; in additional the weekly scheduled run remains unfiltered so even anything somehow missed will still ultimately get analyzed.

Changes

Add paths filters for push and pull_request triggers, while keeping the scheduled run unchanged.

Benefit

This reduces unnecessary CI runs and noise on unrelated PRs.

TODO

  • Confirm required status and/or wrap

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards changed the title ci: only run CodeQL on relevant JS/TS and workflow changes ci(CodeQL): only run on relevant JS/TS and workflow changes Apr 7, 2026
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