Conversation
Available PR Commands
See: https://github.com/tahminator/codebloom/wiki/CI-Commands |
| - name: Post /review command | ||
| uses: ./.github/composite/send-message | ||
| with: | ||
| prId: ${{ needs.getPRHead.outputs.prId }} | ||
| message: "/review" | ||
| token: ${{ env.GH_PAT }} | ||
|
|
||
| - name: Post /describe command |
Check failure
Code scanning / CodeQL
Checkout of untrusted code in a privileged context Critical
| - name: Post /describe command | ||
| uses: ./.github/composite/send-message | ||
| with: | ||
| prId: ${{ needs.getPRHead.outputs.prId }} | ||
| message: "/describe" | ||
| token: ${{ env.GH_PAT }} | ||
|
|
||
| - name: Post /improve command |
Check failure
Code scanning / CodeQL
Checkout of untrusted code in a privileged context Critical
|
/review |
|
/describe |
|
/improve |
|
Preparing PR description... |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
| - name: Post /review command | ||
| uses: ./.github/composite/send-message | ||
| with: | ||
| prId: ${{ needs.getPRHead.outputs.prId }} | ||
| message: "/review" | ||
| token: ${{ env.GH_PAT }} | ||
|
|
||
| - name: Post /describe command | ||
| uses: ./.github/composite/send-message | ||
| with: | ||
| prId: ${{ needs.getPRHead.outputs.prId }} | ||
| message: "/describe" | ||
| token: ${{ env.GH_PAT }} | ||
|
|
||
| - name: Post /improve command | ||
| uses: ./.github/composite/send-message | ||
| with: | ||
| prId: ${{ needs.getPRHead.outputs.prId }} | ||
| message: "/improve" | ||
| token: ${{ env.GH_PAT }} |
There was a problem hiding this comment.
Suggestion: The new steps for posting AI commands can lead to an infinite recursive loop. When these commands are posted as comments, they will re-trigger the same workflow via the issue_comment event. Add an if condition to these steps to ensure they only run when the workflow is triggered by a pull_request event. [possible issue, importance: 9]
| - name: Post /review command | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/review" | |
| token: ${{ env.GH_PAT }} | |
| - name: Post /describe command | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/describe" | |
| token: ${{ env.GH_PAT }} | |
| - name: Post /improve command | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/improve" | |
| token: ${{ env.GH_PAT }} | |
| - name: Post /review command | |
| if: github.event_name == 'pull_request' | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/review" | |
| token: ${{ env.GH_PAT }} | |
| - name: Post /describe command | |
| if: github.event_name == 'pull_request' | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/describe" | |
| token: ${{ env.GH_PAT }} | |
| - name: Post /improve command | |
| if: github.event_name == 'pull_request' | |
| uses: ./.github/composite/send-message | |
| with: | |
| prId: ${{ needs.getPRHead.outputs.prId }} | |
| message: "/improve" | |
| token: ${{ env.GH_PAT }} |
| on: | ||
| pull_request: | ||
| types: [opened, reopened, ready_for_review, synchronize] | ||
| types: [reopened, ready_for_review, synchronize] |
There was a problem hiding this comment.
Suggestion: The pull_request trigger no longer includes the opened type, meaning the AI review will not run when a PR is initially created. To align with the PR title "run /ai after first pr push" and ensure immediate review upon PR creation, re-add the opened type to the trigger. [general, importance: 8]
| on: | |
| pull_request: | |
| types: [opened, reopened, ready_for_review, synchronize] | |
| types: [reopened, ready_for_review, synchronize] | |
| on: | |
| pull_request: | |
| types: [opened, reopened, ready_for_review, synchronize] |
801
Description of changes
Checklist before review
Screenshots
Dev
Staging