Skip to content

Conversation

@marc-romu
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings May 7, 2025 06:44
@marc-romu marc-romu merged commit ba6b675 into dev May 7, 2025
12 of 16 checks passed
Copy link
Contributor

Copilot AI left a 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 updates the development branch from main by enhancing multiple GitHub workflows and actions. Key changes include:

  • Introducing a .NET SDK installation check step across several workflows to conditionally install the SDK.
  • Expanding manual dispatch inputs and conditions for creating pull requests.
  • Updating several code style actions to support a new "soft-check" mode.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/release-4-build.yml Added a conditional .NET SDK setup step using a pre-check.
.github/workflows/release-3-pr-to-main-closed.yml Updated PR creation conditions to support manual dispatch.
.github/workflows/release-2-pr-to-dev-closed.yml Added manual dispatch inputs for creating PRs and updated conditional checks.
.github/workflows/release-1-milestone.yml Enhanced release branch management and switched PR creation to use gh pr create.
.github/workflows/ci-dotnet-tests.yml Refactored .NET SDK installation step with a pre-check condition.
.github/actions/code-style/* (using-sorter, trailing-whitespace, namespace-fixer, header-fixer, action.yml) Updated code style actions to include a "soft-check" mode and streamline header and namespace fixes.


- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
- name: Check for existing .NET SDK
Copy link

Copilot AI May 7, 2025

Choose a reason for hiding this comment

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

The logic for checking the existing .NET SDK appears in multiple workflow files; consider extracting this logic into a shared composite action to reduce duplication and simplify maintenance.

Copilot uses AI. Check for mistakes.
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check for existing .NET SDK
Copy link

Copilot AI May 7, 2025

Choose a reason for hiding this comment

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

This .NET SDK version check is repeated across several code style actions; refactoring it into a centralized reusable action could improve maintainability and consistency.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants