Skip to content

Commit 26d4781

Browse files
committed
fix(ci): grant id-token: write to test-local job
test-warehouse.yml declares id-token: write at the job level (added in #997 for the athena AWS-OIDC step). Reusable-workflow permissions are bounded by the calling job, so test-local needs the same grant even though no local matrix entry actually triggers the OIDC step. Without this, GitHub rejects the workflow with: Error calling workflow '.../test-warehouse.yml@...'. The nested job 'test' is requesting 'id-token: write', but is only allowed 'id-token: none'. Made-with: Cursor
1 parent ea58f53 commit 26d4781

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/test-all-warehouses.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
if: github.event_name != 'pull_request_target'
4747
permissions:
4848
contents: read
49+
id-token: write
4950
strategy:
5051
fail-fast: false
5152
matrix:

0 commit comments

Comments
 (0)