Skip to content

Switch CodeQL from default setup to advanced setup for PR analysis #65

@bug-ops

Description

@bug-ops

Problem

CodeQL in default setup (dynamic workflow) only runs on push and schedule events. It does not run on pull_request, so external fork PRs are never analyzed before merge.

Solution

Replace the default setup with a custom .github/workflows/codeql.yml that triggers on both push and pull_request. This enables maintainer approval for fork PR workflow runs via Actions settings.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions