Skip to content

Add Azure Login support and consolidate release notes#254

Merged
igoravl merged 6 commits into
mainfrom
feat/azurelogin
Mar 27, 2026
Merged

Add Azure Login support and consolidate release notes#254
igoravl merged 6 commits into
mainfrom
feat/azurelogin

Conversation

@igoravl
Copy link
Copy Markdown
Owner

@igoravl igoravl commented Mar 27, 2026

  • Investigate the .github/workflows/main.yml release notes extraction step
  • Tighten the version header regex pattern (require [version] syntax and optional - YYYY-MM-DD)
  • Add explicit failure when no matching version section is found

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI review requested due to automatic review settings March 27, 2026 19:10
Copy link
Copy Markdown
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

Adds Azure Login authentication (via Azure.Identity) with token renewal support, and consolidates per-version release note files into a single Keep a Changelog–style RELEASENOTES.md.

Changes:

  • Introduces -AzureLogin credential mode backed by DefaultAzureCredential and caches the credential for renewal.
  • Updates connection retrieval to refresh Azure DevOps tokens by rebuilding the connection when the cached token is near expiry.
  • Consolidates and validates release notes from a single RELEASENOTES.md, updating CI to extract notes from it.

Reviewed changes

Copilot reviewed 56 out of 56 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
psake.ps1 Updates release notes validation to scan consolidated RELEASENOTES.md.
RELEASENOTES.md Replaces scattered markdown files with a unified Keep a Changelog formatted changelog.
Docs/ReleaseNotes/*.md Deletes old per-version release note files after consolidation.
Docs/CommonHelpText.psd1 Adds help text for the new -AzureLogin parameter.
CSharp/TfsCmdlets/TfsCmdlets.csproj Adds Azure.Identity dependency.
CSharp/TfsCmdlets/Services/Impl/DataManagerImpl.cs Rebuilds cached connections when Azure token is expired.
CSharp/TfsCmdlets/Services/Impl/CurrentConnectionsImpl.cs Stores AzureCredential in current connections and clears it on reset.
CSharp/TfsCmdlets/Services/ICurrentConnections.cs Exposes AzureCredential on the current connections interface.
CSharp/TfsCmdlets/Services/AzureCredential.cs Implements token acquisition/caching and VSS credential creation via Azure.Identity.
CSharp/TfsCmdlets/Cmdlets/Credential/NewCredential.cs Adds Azure Login mode and stores the credential for later refresh.
CSharp/TfsCmdlets.SourceGenerators/Generators/Cmdlets/CmdletInfo.cs Adds generated -AzureLogin parameter and parameter set name.
.github/workflows/main.yml Updates artifacts and release notes extraction to use RELEASENOTES.md.
Comments suppressed due to low confidence (1)

psake.ps1:1

  • The regex uses the unescaped $ThreePartVersion, so dots in versions (e.g. 2.10.0) are treated as regex wildcards and may match the wrong heading (or a partial match). Use [regex]::Escape($ThreePartVersion) and consider making the header match stricter (e.g., require ## [ + version + ] followed by a space / dash) to avoid false positives.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/main.yml
Comment thread CSharp/TfsCmdlets/Services/AzureCredential.cs Outdated
Comment thread CSharp/TfsCmdlets/Services/AzureCredential.cs
Comment thread Docs/CommonHelpText.psd1
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2026

Test Results

  2 files   80 suites   1m 35s ⏱️
139 tests 139 ✅ 0 💤 0 ❌
278 runs  278 ✅ 0 💤 0 ❌

Results for commit 1dbbac8.

♻️ This comment has been updated with latest results.

igoravl and others added 2 commits March 27, 2026 12:48
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@igoravl igoravl deployed to production March 27, 2026 20:39 — with GitHub Actions Active
@igoravl igoravl deployed to announcements March 27, 2026 20:43 — with GitHub Actions Active
@igoravl igoravl merged commit 6c8cbdd into main Mar 27, 2026
11 checks passed
@igoravl igoravl deleted the feat/azurelogin branch March 27, 2026 20:44
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.

3 participants