Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#12910 See eng/common workflow

Copilot AI review requested due to automatic review settings November 15, 2025 00:12
@azure-sdk azure-sdk requested a review from a team as a code owner November 15, 2025 00:12
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Nov 15, 2025
Copilot finished reviewing on behalf of azure-sdk November 15, 2025 00:15
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 syncs the eng/common directory with azure-sdk-tools PR 12910, updating the spell-checking pipeline template to modernize its parameter definitions and add optional cspell upgrade verification functionality.

Key changes:

  • Modernizes parameter definitions from simple key-value format to structured YAML with type specifications
  • Adds a new optional parameter EnableCspellUpgradeVerification to enable verification when cspell package-lock.json is updated
  • Adds a new conditional step that checks for cspell package-lock.json changes and runs public API spell checking if applicable

- pwsh: |
if ('true' -eq '$(Skip.SpellCheck)') {
Write-Host "Spell check is skipped in this build. Skipping cspell upgrade verification."
Write-Host "##vso[task.setvariable variable=RunCspellUpgradeVerification]false"
Copy link

Copilot AI Nov 15, 2025

Choose a reason for hiding this comment

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

The variable 'RunCspellUpgradeVerification' is set here but never referenced elsewhere in the script. This line can be removed as it serves no purpose.

Suggested change
Write-Host "##vso[task.setvariable variable=RunCspellUpgradeVerification]false"

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

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants