Use environment secrets and variables for security#389
Conversation
Restrict the token usage for each environment.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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.
Pull request overview
Updates GitHub Actions workflows to use GitHub Environments and (partially) move sensitive configuration from repository secrets to environment-scoped variables/secrets, aiming to restrict token usage per environment.
Changes:
- Add job-level
environmentassignments to Release, CI test, and CI-Checker merge jobs. - Switch Release workflow GitHub App
app-idfromsecretstovarsto support environment/repo variables.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds environment: Release and moves APP_ID to vars for the GitHub App token step. |
.github/workflows/ci.yml |
Assigns the test job to the CI environment. |
.github/workflows/ci-checker.yml |
Assigns the Renovate auto-merge job to the CI-Checker environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #389 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 115 115
Branches 9 9
=========================================
Hits 115 115 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
close #
✏️ Description
Restrict the token usage for each environment.