You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/gemini-invoke.yml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,13 @@ jobs:
40
40
- name: 'Checkout Code'
41
41
uses: 'actions/checkout@v4'# ratchet:exclude
42
42
43
+
- name: 'Check for Gemini Authentication'
44
+
run: |
45
+
if [[ -z "${{ secrets.GEMINI_API_KEY }}" && -z "${{ secrets.GOOGLE_API_KEY }}" && -z "${{ vars.GCP_WIF_PROVIDER }}" ]]; then
46
+
echo "::error::Gemini API authentication is not configured. Please add GEMINI_API_KEY or GOOGLE_API_KEY to your repository secrets, or configure Google Cloud Workload Identity Federation."
Copy file name to clipboardExpand all lines: .github/workflows/gemini-plan-execute.yml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,13 @@ jobs:
42
42
- name: 'Checkout Code'
43
43
uses: 'actions/checkout@v4'# ratchet:exclude
44
44
45
+
- name: 'Check for Gemini Authentication'
46
+
run: |
47
+
if [[ -z "${{ secrets.GEMINI_API_KEY }}" && -z "${{ secrets.GOOGLE_API_KEY }}" && -z "${{ vars.GCP_WIF_PROVIDER }}" ]]; then
48
+
echo "::error::Gemini API authentication is not configured. Please add GEMINI_API_KEY or GOOGLE_API_KEY to your repository secrets, or configure Google Cloud Workload Identity Federation."
if [[ -z "${{ secrets.GEMINI_API_KEY }}" && -z "${{ secrets.GOOGLE_API_KEY }}" && -z "${{ vars.GCP_WIF_PROVIDER }}" ]]; then
47
+
echo "::error::Gemini API authentication is not configured. Please add GEMINI_API_KEY or GOOGLE_API_KEY to your repository secrets, or configure Google Cloud Workload Identity Federation."
Copy file name to clipboardExpand all lines: .github/workflows/gemini-scheduled-triage.yml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,13 @@ jobs:
88
88
ISSUE_COUNT="$(echo "${ISSUES}" | jq 'length')"
89
89
echo "✅ Found ${ISSUE_COUNT} issue(s) to triage! 🎯"
90
90
91
+
- name: 'Check for Gemini Authentication'
92
+
run: |
93
+
if [[ -z "${{ secrets.GEMINI_API_KEY }}" && -z "${{ secrets.GOOGLE_API_KEY }}" && -z "${{ vars.GCP_WIF_PROVIDER }}" ]]; then
94
+
echo "::error::Gemini API authentication is not configured. Please add GEMINI_API_KEY or GOOGLE_API_KEY to your repository secrets, or configure Google Cloud Workload Identity Federation."
if [[ -z "${{ secrets.GEMINI_API_KEY }}" && -z "${{ secrets.GOOGLE_API_KEY }}" && -z "${{ vars.GCP_WIF_PROVIDER }}" ]]; then
61
+
echo "::error::Gemini API authentication is not configured. Please add GEMINI_API_KEY or GOOGLE_API_KEY to your repository secrets, or configure Google Cloud Workload Identity Federation."
0 commit comments