Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gemini-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
id: 'generate_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510' # ratchet:actions/create-github-app-token@v2

Check failure on line 94 in .github/workflows/gemini-cli.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

github-app

gemini-cli.yml:94: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand Down Expand Up @@ -215,7 +215,7 @@

- name: 'Run Gemini'
id: 'run_gemini'
uses: 'google-github-actions/run-gemini-cli@v0'

Check failure on line 218 in .github/workflows/gemini-cli.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 218 in .github/workflows/gemini-cli.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

gemini-cli.yml:218: unpinned action reference: action is not pinned to a hash (required by blanket policy)
env:
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
REPOSITORY: '${{ github.repository }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gemini-issue-automated-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
id: 'generate_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510' # ratchet:actions/create-github-app-token@v2

Check failure on line 53 in .github/workflows/gemini-issue-automated-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

github-app

gemini-issue-automated-triage.yml:53: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'

- name: 'Run Gemini Issue Triage'
uses: 'google-github-actions/run-gemini-cli@v0'

Check failure on line 59 in .github/workflows/gemini-issue-automated-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 59 in .github/workflows/gemini-issue-automated-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

gemini-issue-automated-triage.yml:59: unpinned action reference: action is not pinned to a hash (required by blanket policy)
id: 'gemini_issue_triage'
env:
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gemini-issue-scheduled-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
id: 'generate_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510' # ratchet:actions/create-github-app-token@v2

Check failure on line 35 in .github/workflows/gemini-issue-scheduled-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

github-app

gemini-issue-scheduled-triage.yml:35: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand Down Expand Up @@ -66,7 +66,7 @@
- name: 'Run Gemini Issue Triage'
if: |-
${{ steps.find_issues.outputs.issues_to_triage != '[]' }}
uses: 'google-github-actions/run-gemini-cli@v0'

Check failure on line 69 in .github/workflows/gemini-issue-scheduled-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 69 in .github/workflows/gemini-issue-scheduled-triage.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

gemini-issue-scheduled-triage.yml:69: unpinned action reference: action is not pinned to a hash (required by blanket policy)
id: 'gemini_issue_triage'
env:
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gemini-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
id: 'generate_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510' # ratchet:actions/create-github-app-token@v2

Check failure on line 75 in .github/workflows/gemini-pr-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

github-app

gemini-pr-review.yml:75: dangerous use of GitHub App tokens: app token inherits blanket installation permissions
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand Down Expand Up @@ -142,7 +142,7 @@
} >> "${GITHUB_OUTPUT}"

- name: 'Run Gemini PR Review'
uses: 'google-github-actions/run-gemini-cli@v0'

Check failure on line 145 in .github/workflows/gemini-pr-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 145 in .github/workflows/gemini-pr-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

gemini-pr-review.yml:145: unpinned action reference: action is not pinned to a hash (required by blanket policy)
id: 'gemini_pr_review'
env:
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
Expand Down Expand Up @@ -443,6 +443,6 @@
github.rest.issues.createComment({
owner: '${{ github.repository }}'.split('/')[0],
repo: '${{ github.repository }}'.split('/')[1],
issue_number: '${{ steps.get_pr.outputs.pr_number || steps.get_pr_comment.outputs.pr_number }}',

Check failure on line 446 in .github/workflows/gemini-pr-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code

Check failure on line 446 in .github/workflows/gemini-pr-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code
body: 'There is a problem with the Gemini CLI PR review. Please check the [action logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.'
})
Loading