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 support for adding `setup-dotnet` steps to `sync.sh` by mbg · Pull Request #3289 · github/codeql-action

Conversation

@mbg

@mbg mbg commented Nov 13, 2025

Copy link
Copy Markdown
Member

Mirrors work we have done for other languages / ecosystems to allow us to pin specific versions of .NET for tests that might not work with whatever is available by default.

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?

CI only.

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?

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

CI.

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
Add support for adding setup-dotnet steps to sync.sh
f20e021
Copilot AI review requested due to automatic review settings November 13, 2025 19:00
@mbg
mbg requested a review from a team as a code owner November 13, 2025 19:00
@github-actions github-actions Bot added the size/XS Should be very easy to review label Nov 13, 2025
Copilot started reviewing on behalf of mbg November 13, 2025 19:00
View session
Copilot finished reviewing on behalf of mbg November 13, 2025 19:05
Copilot AI reviewed Nov 13, 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 adds support for installing specific versions of .NET in PR check workflows, mirroring existing functionality for Go, Java, and Python. This enables pinning .NET versions for tests that may not work with the default installation.

  • Extends sync.py to generate setup-dotnet steps when installDotNet: true is specified in test configurations
  • Adds .NET installation to the local-bundle test which validates C# language support
  • Uses .NET 9.x as the default version with the ability to override via workflow inputs

Reviewed Changes

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

File Description
pr-checks/sync.py Adds logic to generate .NET installation steps following the same pattern as Go, Java, and Python installations, including workflow input configuration
pr-checks/checks/local-bundle.yml Enables .NET installation for the local bundle test which includes C# among its tested languages
.github/workflows/__local-bundle.yml Auto-generated workflow file reflecting the changes from sync.py (adds .NET installation step and corresponding workflow inputs)

Sorry, something went wrong.

Uh oh!

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

All reactions
@github-actions github-actions Bot added size/S Should be easy to review and removed size/XS Should be very easy to review labels Nov 13, 2025
@mbg
mbg force-pushed the mbg/ci/setup-dotnet branch from c53de4e to 1dec2ec Compare November 13, 2025 19:22
mbg added 2 commits November 13, 2025 19:48
@mbg
Add global.json
58c9eb6
@mbg
Enable installDotNet in all workflows that analyse C#
38a3a72
@mbg
mbg force-pushed the mbg/ci/setup-dotnet branch from 1dec2ec to 38a3a72 Compare November 13, 2025 19:48
@mbg
Update remaining workflows
3fac49c
henrymercer
henrymercer approved these changes Nov 13, 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.

Looks good if checks pass

Sorry, something went wrong.

Uh oh!

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

All reactions
@henrymercer
henrymercer enabled auto-merge November 13, 2025 20:07
@henrymercer
henrymercer merged commit 456a74a into main Nov 13, 2025
@henrymercer
henrymercer deleted the mbg/ci/setup-dotnet branch November 13, 2025 20:11
This was referenced Nov 13, 2025
Merge main into releases/v4 #3293
Merged
Merge releases/v4 into releases/v3 #3295
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

No one assigned

Labels

size/S Should be 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.