Skip to content

ci: run required CodeQL checks on fork PRs #580

Closed

Description

@polaz

Fork pull requests such as #550, #551 and #552 pass CI but remain blocked because the main ruleset requires CodeQL checks that Default setup does not run on forks.

Add an Advanced setup CodeQL workflow on pull_request targeting main, push to main, and a weekly schedule. Preserve the actions, c-cpp, rust and javascript-typescript languages, the default query suite, and the Analyze job names required by the ruleset. Use GitHub-hosted runners, pinned actions and no build commands or secrets.

Acceptance: actionlint passes; all four analysis jobs and the CodeQL result complete successfully on a fork PR after switching off Default setup. Existing CI and branch protections remain intact.

Deployment: switch CodeQL from Default to Advanced in repository Settings before validating SARIF upload. See https://docs.github.com/en/code-security/how-tos/find-and-fix-code-vulnerabilities/configure-code-scanning/configuring-advanced-setup-for-code-scanning

Activity

  1. added a commit that references this issue on Oct 11, 2026
    42a9258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions