forked from coinbase/mongobetween
-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add AI code review #1
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
Open
vklimontovich
wants to merge
4
commits into
master
Choose a base branch
from
feat/ai-review
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
629ef4c
ci: add AI code review workflow
vklimontovich 2e850a5
fix: pass pr_number and commit_sha through to reusable workflow
vklimontovich 44aed99
fix: update uses ref to jitsucom/github-workflows
vklimontovich a92c44e
ci: pin to jitsucom/github-workflows@1.4.20260416
vklimontovich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: AI Review | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, reopened, synchronize, edited, ready_for_review] | ||
| push: | ||
| branches: [master] | ||
| workflow_dispatch: | ||
| inputs: | ||
| pr_number: | ||
| description: PR number to review (leave blank to review a commit) | ||
| required: false | ||
| commit_sha: | ||
| description: Commit SHA to review (leave blank when using PR number) | ||
| required: false | ||
|
|
||
| jobs: | ||
| ai-review: | ||
| uses: jitsucom/github-workflows/.github/workflows/ai-review.yml@1.4.20260416 | ||
| secrets: inherit | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| with: | ||
| review_instructions: >- | ||
| Focus on Go correctness, concurrency bugs, and MongoDB protocol handling. | ||
| Skip style nitpicks. | ||
| pr_number: ${{ inputs.pr_number }} | ||
| commit_sha: ${{ inputs.commit_sha }} | ||
Oops, something went wrong.
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.
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.
uses:is pinned to the mutable tag1.4.20260416. Because this job also usessecrets: inherit, a tag move in the source repo could execute unexpected code with your inherited secrets/tokens. Pin this to a full commit SHA instead (and optionally document the intended release tag in a comment).