You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modernize GitHub workflows and finish move to NuGet trusted publishing #6
On nuget.org, add or verify a trusted publishing policy for NimblePros.SharedKernel: owner NimblePros, repo SharedKernelSample, workflow publish.yml, and an environment if we add one
Pin NuGet/login to the latest release (v1.2.0) or to a commit SHA
Only run the login and push steps for tag/release refs
Optionally add a protected nuget GitHub environment (with required reviewers) and tie the trusted publishing policy to it
After a successful trusted publish, delete the NUGET_API_KEY secret and revoke that key on nuget.org
Workflow modernization
ci.yml: also trigger on tests/**, Directory.*.props, *.slnx and .github/workflows/**
Add least-privilege permissions: (contents: read) to ci.yml
Add concurrency so a new push cancels older in-progress CI runs
Cache NuGet packages (actions/setup-dotnetcache: true with a lock file, or actions/cache)
Publish test results and coverage (coverlet is already referenced)
Consider pinning actions to commit SHAs and adding Dependabot for github-actions and nuget
Consider having publish.yml reuse ci.yml instead of duplicating the build and test steps
Activity