Skip to content

Commit 35c7cbd

Browse files
committed
address PR feedback
1 parent 7335bf8 commit 35c7cbd

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

examples/workflows/gemini-assistant/gemini-invoke.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939

4040
- name: 'Checkout Code'
4141
uses: 'actions/checkout@v4' # ratchet:exclude
42+
with:
43+
persist-credentials: 'false'
4244

4345
- name: 'Run Gemini CLI'
4446
id: 'run_gemini'
@@ -112,9 +114,6 @@ jobs:
112114
},
113115
"tools": {
114116
"core": [
115-
"list_directory",
116-
"read_file",
117-
"grep_search",
118117
"run_shell_command(echo)"
119118
]
120119
}

examples/workflows/gemini-assistant/gemini-plan-execute.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
- name: 'Checkout Code'
4343
uses: 'actions/checkout@v4' # ratchet:exclude
44+
with:
45+
persist-credentials: 'false'
4446

4547
- name: 'Run Gemini CLI'
4648
id: 'run_gemini'
@@ -120,9 +122,6 @@ jobs:
120122
},
121123
"tools": {
122124
"core": [
123-
"list_directory",
124-
"read_file",
125-
"grep_search",
126125
"run_shell_command(echo)"
127126
]
128127
}

examples/workflows/pr-review/gemini-review.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
- name: 'Checkout repository'
4242
uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v6
43+
with:
44+
persist-credentials: 'false'
4345

4446
- name: 'Run Gemini pull request review'
4547
uses: 'google-github-actions/run-gemini-cli@v0' # ratchet:exclude
@@ -102,9 +104,6 @@ jobs:
102104
},
103105
"tools": {
104106
"core": [
105-
"list_directory",
106-
"read_file",
107-
"grep_search",
108107
"run_shell_command(echo)"
109108
]
110109
}

0 commit comments

Comments
 (0)