Skip to content

Enable CodeQL analysis for the governance engine #23

Description

@vitormattos

Goal

Add semantic static analysis for the TypeScript/JavaScript governance engine as a defense-in-depth control.

Preferred approach

Use GitHub CodeQL default setup if it satisfies the repository's branch/PR coverage. If workflow-based configuration is required, pin all CodeQL actions to immutable full SHAs and use the minimum required permissions.

Scope

  • JavaScript/TypeScript analysis;
  • pull requests and default branch;
  • avoid privileged execution of untrusted PR code;
  • make the CodeQL result a required check only after one successful baseline run confirms the exact check context.

Acceptance criteria

  • CodeQL runs on the governance engine;
  • the configuration follows GitHub's current recommended setup;
  • required status-check configuration uses the exact observed check name;
  • no unnecessary write permissions are introduced.

Activity

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