fix(ci): add secrets inherit and permissions for release workflow OIDC#82
Merged
Conversation
Contributor
|
📦 Version Information:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The nuget-publish.yml workflow uses OIDC trusted publishing which relies on id-token permission, not repository secrets. The called workflow has its own permissions block with id-token: write. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- cache-cleanup-pr.yml: Deletes caches when PRs are closed/merged - cache-cleanup-scheduled.yml: Weekly cleanup (Sunday midnight UTC) Keeps newest 3 caches to stay under 10GB limit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR-based cleanup would delete caches that can be shared across PRs with identical dependencies. Weekly scheduled cleanup is sufficient to stay under the 10GB limit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Prevents spurious Python/PLSQL warnings from node-gyp dependencies. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
SonarCloud plan doesn't support PR/branch analysis. Only run on pushes to main or develop. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
secrets: inheritto the reusable workflow call for NuGet publishpermissionsblock withid-token: writefor OIDC trusted publishingProblem
The release workflow was failing with
startup_failurebecause:nuget-publish.yml) needs OIDC tokens for trusted publishingsecrets: inherit, the OIDC token permissions weren't being passed to the called workflowSolution
secrets: inheritto pass token permissions to the reusable workflowpermissionsto ensure OIDC tokens are available🤖 Generated with Claude Code