Skip to content

ci(release): remove unused latest commit lookup - #1202

Merged
Gavin Barron (gavinbarron) merged 1 commit into
mainfrom
gavinbarron-beta-release-pipeline-cleanup
Nov 21, 2026
Merged

Gavin Barron (gavinbarron) merged 1 commit into
mainfrom
gavinbarron-beta-release-pipeline-cleanup

Conversation

@gavinbarron

@gavinbarron Gavin Barron (gavinbarron) commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Remove the unused latest-commit lookup from the beta release pipeline, matching the cleanup in microsoftgraph/msgraph-sdk-dotnet#3239.

  • Remove the Get Latest Commit SHA from repo task from pipelines/ci-build.yml.
  • Delete scripts/GetLatestCommitSHA.ps1; its only invocation was that task, and LATEST_COMMIT_SHA has no consumers.
  • Avoid an unnecessary anonymous GitHub API request that can fail under rate limiting before NuGet publication.

Source checkout, version extraction, package staging, signing, and ESRP publishing remain unchanged. Unlike the V1 pipeline, beta has no GitHubRelease@1 task; its separate Release Please workflow continues to manage GitHub releases unchanged.

Validation

  • Parsed baseline and updated YAML using powershell-yaml and confirmed the complete pipeline is structurally identical except for removal of the obsolete task.
  • Confirmed the deployment sequence remains version extraction, package staging, and EsrpRelease@14.
  • Searched tracked files to confirm there are no remaining lookup or variable references.
  • git diff --check passed.
  • Live Azure production deployment was not run.
Microsoft Reviewers: Open in CodeFlow

Remove the anonymous GitHub commit lookup and its unused script from beta deployment. Preserve version extraction, package staging, and ESRP publishing.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@gavinbarron
Gavin Barron (gavinbarron) merged commit f9354da into main Nov 21, 2026
6 checks passed
@gavinbarron
Gavin Barron (gavinbarron) deleted the gavinbarron-beta-release-pipeline-cleanup branch November 21, 2026 00:17
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