File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,13 +41,14 @@ jobs:
4141
4242 - name : ' Checkout repository'
4343 # downloads the code to be analyzed
44- uses : ' actions/checkout@v5 '
44+ uses : ' actions/checkout@v6 '
4545
4646 - name : ' Run Gemini pull request review'
4747 # reviews code with detailed set of instructions for the Gemini
4848 uses : ' google-github-actions/run-gemini-cli@main'
4949 id : ' gemini_pr_review'
5050 env :
51+ GEMINI_CLI_TRUST_WORKSPACE : ' true'
5152 GITHUB_TOKEN : ' ${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
5253 ISSUE_TITLE : ' ${{ github.event.pull_request.title || github.event.issue.title }}'
5354 ISSUE_BODY : ' ${{ github.event.pull_request.body || github.event.issue.body }}'
@@ -98,13 +99,11 @@ jobs:
9899 }
99100 },
100101 "tools": {
101- "core": [
102- "run_shell_command(cat)",
103- "run_shell_command(echo)",
104- "run_shell_command(grep)",
105- "run_shell_command(head)",
106- "run_shell_command(tail)"
107- ]
102+ "core": []
108103 }
109104 }
105+ extensions : |
106+ [
107+ "https://github.com/gemini-cli-extensions/code-review"
108+ ]
110109 prompt : ' /gemini-review'
You can’t perform that action at this time.
0 commit comments