Skip to content

Commit 84a1454

Browse files
committed
refer to main
1 parent fce7a40 commit 84a1454

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

.github/workflows/gemini-invoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: 'Run Gemini CLI'
4141
id: 'run_gemini'
42-
uses: 'megha1188/run-gemini-cli@v0' # ratchet:exclude
42+
uses: 'megha1188/run-gemini-cli@main' # ratchet:exclude
4343
env:
4444
TITLE: '${{ github.event.pull_request.title || github.event.issue.title }}'
4545
DESCRIPTION: '${{ github.event.pull_request.body || github.event.issue.body }}'

.github/workflows/gemini-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
4343

4444
- name: 'Run Gemini pull request review'
45-
uses: 'megha1188/run-gemini-cli@v0' # ratchet:exclude
45+
uses: 'megha1188/run-gemini-cli@main' # ratchet:exclude
4646
id: 'gemini_pr_review'
4747
env:
4848
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token.q || secrets.GITHUB_TOKEN_1 || github.token.q }}'

.github/workflows/gemini-scheduled-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
id: 'gemini_issue_analysis'
9090
if: |-
9191
${{ steps.find_issues.outputs.issues_to_triage != '[]' }}
92-
uses: 'megha1188/run-gemini-cli@v0' # ratchet:exclude
92+
uses: 'megha1188/run-gemini-cli@main' # ratchet:exclude
9393
env:
9494
GITHUB_TOKEN: '' # Do not pass any auth token here since this runs on untrusted inputs
9595
ISSUES_TO_TRIAGE: '${{ steps.find_issues.outputs.issues_to_triage }}'

.github/workflows/gemini-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
id: 'gemini_analysis'
6060
if: |-
6161
${{ steps.get_labels.outputs.available_labels != '' }}
62-
uses: 'megha1188/run-gemini-cli@v0' # ratchet:exclude
62+
uses: 'megha1188/run-gemini-cli@main' # ratchet:exclude
6363
env:
6464
GITHUB_TOKEN: '' # Do NOT pass any auth tokens here since this runs on untrusted inputs
6565
ISSUE_TITLE: '${{ github.event.issue.title }}'

docs/authentication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This is the simplest method and is suitable for projects that do not require Goo
4949
#### Example
5050

5151
```yaml
52-
- uses: 'google-github-actions/run-gemini-cli@v0'
52+
- uses: 'google-github-actions/run-gemini-cli@main'
5353
with:
5454
prompt: |-
5555
Explain this code
@@ -72,7 +72,7 @@ This method is used for quick setup using Vertex AI through Google Cloud Console
7272
#### Example
7373

7474
```yaml
75-
- uses: 'megha1188/run-gemini-cli@v0'
75+
- uses: 'megha1188/run-gemini-cli@main'
7676
with:
7777
prompt: |-
7878
Explain this code
@@ -185,7 +185,7 @@ After running the `setup_workload_identity.sh` script, add the following variabl
185185
**Example**
186186

187187
```yaml
188-
- uses: 'google-github-actions/run-gemini-cli@v0'
188+
- uses: 'google-github-actions/run-gemini-cli@main'
189189
with:
190190
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
191191
gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
@@ -222,7 +222,7 @@ After running the `setup_workload_identity.sh` script, add the following variabl
222222
**Example**
223223

224224
```yaml
225-
- uses: 'google-github-actions/run-gemini-cli@v0'
225+
- uses: 'google-github-actions/run-gemini-cli@main'
226226
with:
227227
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
228228
gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'

docs/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Never hardcode secrets (e.g., API keys, tokens) in your workflows. Use [GitHub S
5454
To ensure the stability and security of your workflows, pin the Gemini CLI action to a specific version.
5555

5656
```yaml
57-
uses: google-github-actions/run-gemini-cli@v0
57+
uses: google-github-actions/run-gemini-cli@main
5858
```
5959
6060
## Creating Custom Workflows

docs/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- id: gemini
25-
uses: google-github-actions/run-gemini-cli@v0
25+
uses: google-github-actions/run-gemini-cli@main
2626
with:
2727
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
2828
prompt: "/security:analyze"

docs/observability.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ environment.
4949
After running the setup script, configure your GitHub Actions workflow with the provided values:
5050

5151
```yaml
52-
- uses: 'google-github-actions/run-gemini-cli@v0'
52+
- uses: 'google-github-actions/run-gemini-cli@main'
5353
with:
5454
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
5555
gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}'
@@ -88,7 +88,7 @@ jobs:
8888
review:
8989
runs-on: 'ubuntu-latest'
9090
steps:
91-
- uses: 'google-github-actions/run-gemini-cli@v0'
91+
- uses: 'google-github-actions/run-gemini-cli@main'
9292
with:
9393
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
9494
gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
@@ -109,7 +109,7 @@ jobs:
109109
If you prefer to disable OpenTelemetry, you can explicitly opt out by setting `enabled: false` in your settings:
110110

111111
```yaml
112-
- uses: 'google-github-actions/run-gemini-cli@v0'
112+
- uses: 'google-github-actions/run-gemini-cli@main'
113113
with:
114114
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
115115
gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}'
@@ -128,7 +128,7 @@ If you prefer to disable OpenTelemetry, you can explicitly opt out by setting `e
128128
Alternatively, you can omit the `telemetry` settings entirely, as telemetry is disabled by default:
129129

130130
```yaml
131-
- uses: 'google-github-actions/run-gemini-cli@v0'
131+
- uses: 'google-github-actions/run-gemini-cli@main'
132132
with:
133133
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'
134134
gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: 'Run Gemini CLI'
4141
id: 'run_gemini'
42-
uses: 'google-github-actions/run-gemini-cli@v0' # ratchet:exclude
42+
uses: 'google-github-actions/run-gemini-cli@main' # ratchet:exclude
4343
env:
4444
TITLE: '${{ github.event.pull_request.title || github.event.issue.title }}'
4545
DESCRIPTION: '${{ github.event.pull_request.body || github.event.issue.body }}'

examples/workflows/issue-triage/gemini-scheduled-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
id: 'gemini_issue_analysis'
9090
if: |-
9191
${{ steps.find_issues.outputs.issues_to_triage != '[]' }}
92-
uses: 'google-github-actions/run-gemini-cli@v0' # ratchet:exclude
92+
uses: 'google-github-actions/run-gemini-cli@main' # ratchet:exclude
9393
env:
9494
GITHUB_TOKEN: '' # Do not pass any auth token here since this runs on untrusted inputs
9595
ISSUES_TO_TRIAGE: '${{ steps.find_issues.outputs.issues_to_triage }}'

0 commit comments

Comments
 (0)