Skip to content

ci: upgrade devops-templates to v10.0 with NuGet trusted publishing#74

Merged
ncipollina merged 1 commit into
mainfrom
ci/v10-templates
Jun 25, 2026
Merged

ci: upgrade devops-templates to v10.0 with NuGet trusted publishing#74
ncipollina merged 1 commit into
mainfrom
ci/v10-templates

Conversation

@ncipollina

Copy link
Copy Markdown
Contributor

Summary

Upgrades all devops-templates references from v8.1 to v10.0 and converts the publish flows to use NuGet Trusted Publishing (OIDC) via the nuget-push composite action. Also includes pending package updates from Directory.Packages.props.

Changes

publish-preview.yaml and publish-release.yaml — structural change

  • Renamed publish job to build; shared template now handles build/test/pack/artifact upload only
  • Added push job using nuget-push@v10.0 composite action for OIDC login and NuGet push
  • Tightened permissions: write-all to least-privilege per job

pr-build.yaml, pr-title-check.yaml, release-drafter.yaml — version bump only

  • @v8.1@v10.0, no other changes

Directory.Packages.props — package updates

Validation

The same build + push job pattern was validated end-to-end on LayeredCraft/compact-json-formatter with the same template version and composite action before applying here.

Notes for Reviewers

NuGet.org trusted publisher entries for this repo will need to be configured pointing at .github/workflows/publish-preview.yaml and .github/workflows/publish-release.yaml before the push jobs will succeed.

🤖 Generated with Claude Code

Split publish jobs into build (shared template) and push (composite
action) so OIDC job_workflow_ref matches the NuGet trusted publisher
policy. Version-bump-only for pr-build, pr-title-check, release-drafter.
Includes package updates from Directory.Packages.props.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added the type: ci CI/CD changes label Jun 25, 2026
@ncipollina ncipollina merged commit 1bae1b5 into main Jun 25, 2026
6 checks passed
@ncipollina ncipollina deleted the ci/v10-templates branch June 25, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant