Skip to content

Align PAT validation with Core workflow - #56997

Merged
marcpopMSFT merged 1 commit into
dotnet:mainfrom
jeffhandley:jeffhandley/sdk-pat-validation
Nov 9, 2026
Merged

marcpopMSFT merged 1 commit into
dotnet:mainfrom
jeffhandley:jeffhandley/sdk-pat-validation

Conversation

@jeffhandley

Copy link
Copy Markdown
Member

Summary

  • Align PAT validation with dotnet/core's resilient validator: use the reviewed gh-aw setup action and installer default, with a 90-second Auto-mode Copilot CLI probe.
  • Preserve the existing SDK workflow triggers, telemetry, PAT secret wiring, and status reporting; report setup failure explicitly rather than classifying untested PATs.

Validation

  • Compared the probe, setup/install, and install-outcome guard with dotnet/core at 5ebfc4f2.
  • git diff --check passed.
  • No live PAT request or workflow run was performed.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 09:10
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified in the PAT validation workflow changes.

No open issues 🎉

What changed in this PR

Updates the SDK’s PAT validation workflow to follow dotnet/core’s approach, using a longer Copilot CLI probe and explicit setup-failure reporting.

Changes:

  • Updates the pinned gh-aw setup action and uses its default Copilot CLI version.
  • Runs a 90-second probe with automatic model selection and CLI auto-update disabled.
  • Reports setup/install failure without classifying untested PATs.
File Description
.github/​workflows/​validate-pat-pool.yml Updates CLI setup, probe options, and setup-failure reporting.

Review effort: Balanced

@nagilson nagilson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking good! Thank you!

@marcpopMSFT
marcpopMSFT merged commit 1f81383 into dotnet:main Nov 9, 2026
15 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 10, 2026
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.

4 participants