feat(workflows): add issues list command to automated triage workflow (#2749)

This commit is contained in:
Jerop Kipruto 2025-06-30 17:04:48 -04:00 committed by GitHub
parent 9794d329d3
commit 09d494d174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Gemini Issue Triage
name: Gemini Automated Issue Triage
on:
issues:
@ -28,6 +28,9 @@ jobs:
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Install dependencies
run: npm install
- name: Run Gemini Issue Triage
uses: google-gemini/gemini-cli-action@1efc0bac9e0b2da6c6cab95df513324d8dfc2a79
env:
@ -47,6 +50,7 @@ jobs:
"coreTools": [
"run_shell_command(gh label list)",
"run_shell_command(gh issue edit)",
"run_shell_command(gh issue list)"
],
}
prompt: |

View File

@ -36,6 +36,9 @@ jobs:
ISSUES=$(echo "$NO_LABEL_ISSUES" "$NEEDS_TRIAGE_ISSUES" | jq -c -s 'add | unique_by(.number)')
echo "issues_to_triage=$ISSUES" >> "$GITHUB_OUTPUT"
- name: Install dependencies
run: npm install
- name: Run Gemini Issue Triage
if: steps.find_issues.outputs.issues_to_triage != '[]'
uses: google-gemini/gemini-cli-action@1efc0bac9e0b2da6c6cab95df513324d8dfc2a79