GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add `setup-codeql` action by mbg · Pull Request #3204 · github/codeql-action

Conversation

@mbg

@mbg mbg commented Oct 12, 2025

Copy link
Copy Markdown
Member

This PR takes a stab at adding a setup-codeql action, which just installs the CodeQL CLI. Unlike init, it does not initialise a database.

This doesn't change the init action in any way yet. I.e. the goal of this PR is not to support running setup-codeql followed by init, but just setup-codeql on its own with no subsequent codeql-action steps.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Currently, none.

How did/will you validate this change?

  • Unit tests - I am depending on unit test coverage (i.e. tests in .test.ts files).
  • End-to-end tests - I am depending on PR checks (i.e. tests in pr-checks).

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Rollback - Change can only be disabled by rolling back the release or releasing a new version with a fix.

How will you know if something goes wrong after this change is released?

  • Telemetry - I rely on existing telemetry or have made changes to the telemetry.
    • Dashboards - I will watch relevant dashboards for issues after the release. Consider whether this requires this change to be released at a particular time rather than as part of a regular release.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mbg added 2 commits October 12, 2025 14:14
@mbg
Add initial setup-codeql action
e72fd9a
@mbg
Use setup-codeql action in bundle-from-toolcache check
80220dc
@mbg
mbg force-pushed the mbg/setup-codeql branch from 13f34d1 to 80220dc Compare October 12, 2025 13:14
mbg added 3 commits October 16, 2025 14:46
@mbg
Update docs
302fc5e
@mbg
Add setup-codeql to README
f4237b7
@mbg
Update changelog for setup-codeql
d02f50e
@mbg
mbg marked this pull request as ready for review October 16, 2025 13:50
@mbg
mbg requested a review from a team as a code owner October 16, 2025 13:50
Copilot AI review requested due to automatic review settings October 16, 2025 13:50
Copilot AI reviewed Oct 16, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new experimental setup-codeql action that installs the CodeQL CLI without initializing a database, providing a more focused tool setup capability separate from the existing init action.

Key changes:

  • Adds a standalone setup-codeql action for CodeQL CLI installation only
  • Creates new action entry point with status reporting integration
  • Updates test workflows to use the new action instead of init

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/status-report.ts Adds SetupCodeQL action name enum for telemetry tracking
src/setup-codeql-action.ts New action implementation that installs CodeQL CLI and sets outputs
setup-codeql/action.yml Action definition with inputs/outputs for the new setup action
pr-checks/checks/bundle-from-toolcache.yml Updates test to use setup-codeql instead of init
README.md Documents the new experimental action
CHANGELOG.md Records the addition of the new action
.github/workflows/__bundle-from-toolcache.yml Generated workflow file reflecting test changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer
henrymercer reviewed Oct 16, 2025
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! If we aren't yet supporting running init after setup-codeql, should it be a configuration error to do so?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/setup-codeql-action.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/setup-codeql-action.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

mbg added 3 commits October 16, 2025 19:03
@mbg
De-duplicate InitToolsDownloadFIelds definition
2611d03
@mbg
Use failure instead of aborted
0002951
@mbg
Throw a ConfigurationError if setup-codeql has run before init
c0e8887
@mbg
mbg force-pushed the mbg/setup-codeql branch from 84db292 to c0e8887 Compare October 17, 2025 11:18
henrymercer
henrymercer approved these changes Oct 17, 2025
View reviewed changes
@mbg
Merge branch 'main' into mbg/setup-codeql
4874f90
@mbg
mbg enabled auto-merge October 17, 2025 12:42
@mbg
mbg merged commit 97a4f75 into main Oct 17, 2025
@mbg
mbg deleted the mbg/setup-codeql branch October 17, 2025 12:47
This was referenced Oct 17, 2025
Merge main into releases/v4 #3213
Merged
Merge releases/v4 into releases/v3 #3216
Merged
This was referenced Sep 16, 2026
ci(actions): bump github/codeql-action/analyze from 4.37.8 to 4.38.0 VBCreators/AI-RAG#34
Open
ci(actions): bump github/codeql-action/autobuild from 4.37.8 to 4.38.0 VBCreators/AI-RAG#35
Open
Upgrade CodeQL actions from v3.38.0 to v4.38.0 shmindmaster/heatlot#4
Merged
chore(deps): bump github/codeql-action/analyze from 4.38.0 to 4.38.1 Rajveerx11/neura#76
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@henrymercer henrymercer henrymercer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mbg @henrymercer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.