Skip to content

Commit 1555a39

Browse files
jonphippsclaude
andcommitted
fix: add missing environment variables and permissions to Primary CI
- Add GOOGLE_SHEETS_API_KEY, GSHEETS_SA_KEY, and GITHUB_TOKEN to Primary CI workflow - Add permissions section for proper secret access - Ensures Group 5 CI tests can validate external service connectivity - Resolves external-services.test.ts failures in Primary CI workflow Required: Repository secrets must be configured in GitHub Settings → Secrets and variables → Actions: - GOOGLE_SHEETS_API_KEY: Google Sheets API key for vocabulary validation - GSHEETS_SA_KEY: Base64-encoded Google service account key 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent abcca02 commit 1555a39

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/nx-optimized-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
default: 'false'
1616
type: boolean
1717

18+
permissions:
19+
actions: read
20+
contents: read
21+
1822
env:
1923
NX_BRANCH: ${{ github.event.number || github.ref_name }}
2024
NX_RUN_GROUP: ${{ github.run_id }}
@@ -26,6 +30,10 @@ env:
2630
SITE_TAGLINE: International Federation of Library Associations and Institutions
2731
# Skip Nx cache if requested via workflow dispatch
2832
NX_SKIP_NX_CACHE: ${{ inputs.skip_nx_cache == 'true' && 'true' || '' }}
33+
# Environment variables for Group 5 CI tests
34+
GOOGLE_SHEETS_API_KEY: ${{ secrets.GOOGLE_SHEETS_API_KEY }}
35+
GSHEETS_SA_KEY: ${{ secrets.GSHEETS_SA_KEY }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2937

3038
jobs:
3139
ci:

0 commit comments

Comments
 (0)