mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-09 09:30:41 -07:00
feat(repo): add clear_memory and enable_prs workflow inputs and update brain instructions
This commit is contained in:
@@ -44,6 +44,11 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||
run: |
|
||||
if [ "${{ github.event.inputs.clear_memory }}" = "true" ]; then
|
||||
echo "Memory clear requested. Skipping previous state download."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Find the last successful run of this workflow
|
||||
LAST_RUN_ID=$(gh run list --workflow "${{ github.workflow }}" --status success --limit 1 --json databaseId --jq '.[0].databaseId')
|
||||
|
||||
@@ -73,6 +78,7 @@ jobs:
|
||||
GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}'
|
||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||
GEMINI_MODEL: 'gemini-3-flash-preview'
|
||||
ENABLE_PRS: '${{ github.event.inputs.enable_prs || 'false' }}'
|
||||
run: 'node bundle/gemini.js --policy tools/gemini-cli-bot/ci-policy.toml tools/gemini-cli-bot/brain/metrics.md'
|
||||
|
||||
- name: 'Stash Brain Outputs'
|
||||
@@ -112,3 +118,5 @@ jobs:
|
||||
name: 'brain-scripts'
|
||||
path: 'temp_outputs/reflexes/scripts/'
|
||||
retention-days: 90
|
||||
_outputs/reflexes/scripts/'
|
||||
retention-days: 90
|
||||
|
||||
Reference in New Issue
Block a user