Skip to content

Verify attestations#1107

Merged
martincostello merged 1 commit intomainfrom
verify-attestations-before-publish
Dec 2, 2025
Merged

Verify attestations#1107
martincostello merged 1 commit intomainfrom
verify-attestations-before-publish

Conversation

@martincostello
Copy link
Owner

Verify release artifact attestations before publishing.

Verify release artifact attestations before publishing.
Copilot AI review requested due to automatic review settings December 2, 2025 09:55
@martincostello martincostello added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Dec 2, 2025
@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.59%. Comparing base (ef67ae7) to head (9199dc3).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1107   +/-   ##
=======================================
  Coverage   98.59%   98.59%           
=======================================
  Files          16       16           
  Lines         284      284           
  Branches       37       37           
=======================================
  Hits          280      280           
  Misses          2        2           
  Partials        2        2           
Flag Coverage Δ
linux 98.59% <ø> (ø)
macos 98.59% <ø> (ø)
windows 98.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

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

This PR enhances the release artifact verification process by adding attestation verification to complement the existing GPG signature verification. Attestations are created during the build process (in build.yml) and are now verified before publishing packages to NuGet.org, strengthening the supply chain security.

Key changes:

  • Added attestations: read permission to enable reading of GitHub attestations
  • Integrated gh attestation verify command to verify build provenance before publishing
  • Enhanced verification logging to distinguish between signature and attestation verification steps

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants