-
-
Notifications
You must be signed in to change notification settings - Fork 1
chore: upgrade version to 2.2.8-stable, add ReviewBuddy workflow and improve naming consistency #10
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,17 @@ | ||||||
| name: Review Buddy | ||||||
| on: | ||||||
| pull_request: | ||||||
| types: [opened, synchronize] | ||||||
| issue_comment: | ||||||
| types: [created] | ||||||
| permissions: | ||||||
| pull-requests: write | ||||||
| contents: read | ||||||
| jobs: | ||||||
| review: | ||||||
| runs-on: ubuntu-latest | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - uses: nexoral/ReviewBuddy@main | ||||||
|
||||||
| - uses: nexoral/ReviewBuddy@main | |
| - uses: nexoral/ReviewBuddy@v1.3.0 |
Copilot
AI
Jan 26, 2026
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.
This step requires secrets.GEMINI_API_KEY, but the workflow is triggered by pull_request. For PRs from forks, GitHub does not provide repository secrets, so the job will fail (or run with an empty key). If forked PRs are expected, add an if: guard to skip when the secret is unavailable, or move to pull_request_target with a safe checkout strategy.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 2.2.7-stable | ||
| 2.2.8-stable |
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.
The workflow is triggered on
issue_commentand uses a repository secret (GEMINI_API_KEY).issue_commentruns in the base repo context, so any external user can trigger this job by commenting on an issue/PR, which risks secret exfiltration via logs or via the third‑party action. Restrict execution (e.g., only whengithub.event.issue.pull_requestis present and the commenter is a trusted association like OWNER/MEMBER/COLLABORATOR) or remove theissue_commenttrigger.