Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#291 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, google-cloud, typescript
Lĩnh vực
ai, ci-cd, cloud

Hướng nghiên cứu

Kiểm tra action.yml quanh dòng 225 và cấu hình workload identity mà tệp này tham chiếu. Theo dõi cách thông tin xác thực và các cài đặt dự án Gemini được truyền vào; hoàn tất khi các bên gọi có thể chọn độc lập dự án xác thực và dự án Gemini API, đồng thời vẫn giữ nguyên luồng workload identity hiện có.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
2.1k
Fork
285
Merge trung bình
8 giờ 8 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google-github-actions/run-gemini-cli

Tất cả issue của google-github-actions/run-gemini-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.