Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support using a different gcp project for gemini api calls that isn't the workload ID project

オープン
#291 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, google-cloud, typescript
領域
ai, ci-cd, cloud

調査の方向性

225行目付近の action.yml と、そこで参照されている workload identity の設定を調査してください。認証と Gemini プロジェクトの設定がどのように渡されるかを追跡します。呼び出し元が認証プロジェクトと Gemini API プロジェクトを個別に選択でき、既存の workload identity フローが維持されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area/auth area/configuration area/workflows kind/enhancement
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

主要言語
TypeScript
スター
2.1k
フォーク
285
平均マージ
8時間 8分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google-github-actions/run-gemini-cli のほかの issue

google-github-actions/run-gemini-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。