google-github-actions / google-github-actions/run-gemini-cli
Support using a different gcp project for gemini api calls that isn't the workload ID project
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 285
- Avg merge
- 8h 8m
- Merged PRs (30d)
- 1
Description
TL;DR
The way the workflow is written makes it impossible to auth via workload id to one project and configure gemini to use a different project for API calls.
My service account is in a different project than the one where the gemini api is enabled
You made this impossible because you directly reference the output of the shared workflows workload id step here: https://github.com/google-github-actions/run-gemini-cli/blob/c27fb3eed34c68e75f9dd6400384f56b1f1633d4/action.yml#L225
If you had just made that an optional input I could configure workload id myself and pass in the token, but because its hard coded like this I would have to fork the entire thing.
Expected behavior
It should be possible to set the auth project independently from the gemini project
Observed behavior
No response
Action YAML
Use with workload id as intended
Log output
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect action.yml around line 225 and the workload identity configuration it references. Trace how authentication and Gemini project settings are passed; done means callers can select the authentication and Gemini API projects independently while preserving the existing workload identity flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, google-cloud, typescript
- Domain
- ai, ci-cd, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100