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 — Remove `installPython` from checks which should no longer need it by mbg · Pull Request #3549 · github/codeql-action

Conversation

@mbg

@mbg mbg commented Mar 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

We added explicit setup-python steps to PR checks a while back because the default CodeQL CLI version at the time had a bug when used with the (then new) default Python version on Actions runners.

The default CodeQL CLI version should not contain the fix, so this is no longer necessary for any PR check other than multi-language-autodetect.yml which uses the defaultTestVersions and so includes some older CLI versions which predate the fix.

I think that the last CLI version without a fix would have been https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.23.3, so we could also (separately) look at making the remaining setup-python step conditional for versions below that, rather than !nightly-latest.

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?

Environments:

  • Testing/None - This change does not impact any CodeQL workflows in production.

How did/will you validate this change?

  • 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?

  • Development/testing only - This change cannot cause any failures in production.

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

  • Other - Please provide details.

Are there any special considerations for merging or releasing this change?

  • No special considerations - This change can be merged at any time.

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
Remove installPython from checks which should no longer need it
0da2e79
@mbg mbg self-assigned this Mar 5, 2026
@github-actions github-actions Bot added the size/XS Should be very easy to review label Mar 5, 2026
@mbg
mbg marked this pull request as ready for review March 9, 2026 13:55
@mbg
mbg requested a review from a team as a code owner March 9, 2026 13:55
Copilot AI review requested due to automatic review settings March 9, 2026 13:55
Copilot started reviewing on behalf of mbg March 9, 2026 13:56
View session
Copilot AI reviewed Mar 9, 2026
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

Removes explicit Python installation from PR-check templates where it’s no longer needed, reducing workflow setup while keeping the remaining Python pinning in the one check that still exercises older CodeQL CLI versions.

Changes:

  • Dropped installPython: true from several pr-checks/checks/*.yml specs.
  • Regenerated the corresponding .__*.yml workflows to remove the setup-python step, python-version inputs, and Python from the concurrency group key.

Reviewed changes

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

Show a summary per file
File Description
pr-checks/checks/with-checkout-path.yml Removes installPython from the check spec.
pr-checks/checks/upload-sarif.yml Removes installPython from the check spec.
pr-checks/checks/upload-ref-sha-input.yml Removes installPython from the check spec.
pr-checks/checks/unset-environment.yml Removes installPython from the check spec.
pr-checks/checks/remote-config.yml Removes installPython from the check spec.
pr-checks/checks/packaging-codescanning-config-inputs-js.yml Removes installPython from the check spec.
pr-checks/checks/local-bundle.yml Removes installPython from the check spec.
pr-checks/checks/analyze-ref-input.yml Removes installPython from the check spec.
.github/workflows/__with-checkout-path.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__upload-sarif.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__upload-ref-sha-input.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__unset-environment.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__remote-config.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__packaging-codescanning-config-inputs-js.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__local-bundle.yml Regenerated workflow output reflecting removal of Python install/input.
.github/workflows/__analyze-ref-input.yml Regenerated workflow output reflecting removal of Python install/input.

Sorry, something went wrong.

Uh oh!

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

All reactions
henrymercer
henrymercer approved these changes Mar 9, 2026
View reviewed changes
@mbg
mbg added this pull request to the merge queue Mar 9, 2026
Merged via the queue into main with commit f054eea Mar 9, 2026
482 of 483 checks passed

Uh oh!

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

@mbg
mbg deleted the mbg/pr-checks/remove-python-setup branch March 9, 2026 15:11
@mbg mbg mentioned this pull request Mar 11, 2026
Add support for validation jobs to sync.ts, and refactor #3541
Merged
This was referenced Mar 16, 2026
Merge main into releases/v4 #3574
Merged
Merge releases/v4 into releases/v3 #3577
Merged
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

@mbg mbg

Labels

size/XS Should be very easy to review

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.