Skip to content

Modernize CI and release pipelines - #324

Merged
andystaples merged 1 commit into
mainfrom
andystaples-modernize-ci-pipelines
Jul 31, 2026
Merged

Modernize CI and release pipelines#324
andystaples merged 1 commit into
mainfrom
andystaples-modernize-ci-pipelines

Conversation

@andystaples

Copy link
Copy Markdown
Contributor

Summary

Remove stale GitHub workflows and tighten the remaining CI/release configuration.

Changes

  • Remove .github/workflows/publish-release.yml.
    • It was a legacy tag-triggered publisher for GitHub Packages, not the official release path.
    • Official signed packages are built and published through the Azure DevOps/1ES pipelines.
    • The GitHub workflow has failed on every recent release and no longer provides a reliable release artifact.
  • Remove .github/workflows/codeQL.yml.
    • The checked-in workflow was broken because it referenced a nonexistent reusable build.yml workflow and expected an artifact that was never produced.
    • GitHub CodeQL default setup is already active for this repository; its last ten observed scans succeeded.
    • Default-only CodeQL is also used successfully by microsoft/durabletask-go and microsoft/durabletask-java, avoiding duplicate analysis while preserving code-scanning coverage.
  • Harden .github/workflows/build-and-test.yml.
    • Restrict GITHUB_TOKEN to read-only repository contents.
    • Pin actions/checkout and actions/setup-dotnet to immutable commit SHAs.
    • Remove the unused placeholder NUGET_AUTH_TOKEN.
  • Correct eng/ci/publish.yml release ordering.
    • Require every NuGet.org publishing job to wait for both manual approval and successful publication to the internal ADO feed.
    • Remove the obsolete durabletask_config variable group, since publishing now uses the configured DurableTask org NuGet API Key service connection.

Validation

  • Built the solution in Release configuration successfully.
  • Parsed all remaining GitHub Actions and Azure DevOps YAML files.
  • Reviewed the final diff for release-ordering, permission, and security regressions.

Remove obsolete GitHub Packages publishing and the broken duplicate CodeQL workflow, harden GitHub Actions dependencies and permissions, and restore release ordering between ADO and NuGet.org.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: aa0f85cf-cc65-47b1-a550-bd718f13cf0d
@andystaples
andystaples merged commit 915fb0e into main Jul 31, 2026
5 checks passed
@andystaples
andystaples deleted the andystaples-modernize-ci-pipelines branch July 31, 2026 16:25
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