fix: harden repo maintenance workflows - #833
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughAdds a ChangesDependabot labeling, Claude auth gating, and permissions hardening
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
test/claude-workflow-contract.test.jsOops! Something went wrong! :( ESLint: 10.5.0 ReferenceError: describe is not defined test/template-workflows.test.jsOops! Something went wrong! :( ESLint: 10.5.0 ReferenceError: describe is not defined Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 532c73361f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | ||
| anthropic_federation_rule_id: ${{ secrets.ANTHROPIC_FEDERATION_RULE_ID }} |
There was a problem hiding this comment.
Pass only one Claude auth method
When a repository has both the existing CLAUDE_CODE_OAUTH_TOKEN secret and the newly supported ANTHROPIC_API_KEY/federation secrets configured, this step now passes multiple Claude authentication methods to the action after the guard reports available=true. The action treats the OAuth token as an alternative to the API key, so repos that kept both secrets around can start failing or using the wrong auth path instead of being safely skipped. Please choose a single auth path in the auth-check step and only pass inputs for that selected path.
Useful? React with 👍 / 👎.
|
🎉 This PR is included in version 1.116.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Verification
Summary by CodeRabbit
New Features
dependabot-minorlabel to better categorize minor dependency updates separately.Chores
Tests