Skip to content

Update CodeQL to v3 #759

@arielswalker

Description

@arielswalker

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
CodeQL v2 will be deprecated December 2024.

Expected behavior
Update workflows to use v3.

Code snips

uses: github/codeql-action/init@v2

uses: github/codeql-action/analyze@v2

uses: github/codeql-action/upload-sarif@v2

uses: github/codeql-action/upload-sarif@v2

Additional context
In December 2024, CodeQL Action v2 will be officially deprecated (at the same time as the GHES 3.11 deprecation). At that point, no new updates will be made to CodeQL Action v2, which means that new CodeQL analysis capabilities will only be available to users of CodeQL Action v3.

Submodules do not need to update their workflows since they all use https://github.com/nasa/cFS/blob/main/.github/workflows/codeql-reusable.yml.

Reporter Info
Ariel Walker, MCSG Tech.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions