-
Notifications
You must be signed in to change notification settings - Fork 20
Inherit secrets #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inherit secrets #152
Conversation
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
WalkthroughThe GitHub Actions workflow Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub
participant WF as pr-closed Workflow
participant Job as cherry-pick Job
participant Sec as Inherited Secrets
Dev->>GH: Close PR (merged)
GH-->>WF: Trigger on PR closed (merged)
WF->>Job: Start cherry-pick job
Note right of Job: Job now runs with<br/>secrets: inherit
Job->>Sec: Access required secrets
Job-->>WF: Complete cherry-pick process
WF-->>GH: Report job status
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/pr-closed.yaml (1)
16-16: Limit the secrets you forward to the reusable workflow
secrets: inherithands every repo/environment secret to the reusable workflow. That makes a compromise inkonveyor/release-tools/.github/workflows/cherry-pick.yml@mainor any action it pulls in far more damaging. Prefer forwarding only the specific secrets that job actually needs so you keep the blast radius minimal.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/pr-closed.yaml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build tackle2-addon-analyzer
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]> Signed-off-by: Cherry Picker <[email protected]>
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]> Signed-off-by: Cherry Picker <[email protected]> Co-authored-by: Juan Manuel Leflet Estrada <[email protected]>
Summary by CodeRabbit