ci: restore merge queue GAR auth secret#3713
Conversation
|
Claude finished @joeyorlando's task in 2m 19s —— View job PR Review: ci: restore merge queue GAR auth secrets
SummaryThe PR does two related things (the title/description only mentions the first):
Verdict: correct fix, ships the merge queue unblock1) The secret rename is correct and matches repo conventions. The actual repo secrets are
Because PR #3710 inlined the old reusable Both updated call sites correctly feed the required inputs declared in 2) Pass-through placeholders look sound. The placeholder jobs mirror the real jobs' if: ${{ github.event_name == 'pull_request' && (github.event.action != 'labeled' || github.event.label.name != 'run-e2e') }}This evaluates to Observations and minor nitsa) Matrix names must exactly match, and they do. For required checks to pass through, the placeholder matrix
If you ever add/rename a matrix entry in a real job, don't forget to mirror it in the placeholder — otherwise required checks will silently diverge. Consider leaving a comment pointing to the mirror list, or collapse duplication by reading from a shared matrix include once GitHub Actions supports job-level matrix reuse. b) Nit: the docker-image-scanning placeholder's c) Consistency nit. In d) PR description scope. The title and body cover only the secret rename, but the PR also lands ~80 lines of new placeholder jobs. If you care about release notes / git archeology, consider either:
Either is purely a hygiene call; both changes are independently sound. e) No hardcoded secrets, no shell-injection risk, no permission escalation introduced by either commit. The Bottom lineShip it. The secret restore is the correct and minimal fix for the merge queue |
Summary
platform-e2e-tests.ymlon trusted runsContext
PR #3710 inlined the old reusable platform workflow into first-class workflows. During that refactor, the E2E image-build workflow switched from the repo's working secret names:
DEVELOPMENT_OAUTH_PROXY_RELEASER_GCP_SERVICE_ACCOUNT_NAMEDEVELOPMENT_OAUTH_PROXY_RELEASER_GCP_WORKLOAD_IDENTITY_PROVIDER_IDENTIFIERto generic
GCP_SERVICE_ACCOUNT_NAME/GCP_WORKLOAD_IDENTITY_PROVIDER_IDENTIFIER.Those generic secrets are not populated for this workflow in merge queue, so
Authenticate to Google Artifact Registryfails with empty inputs and the merge queue never reaches the E2E jobs.This change restores the original secret names in both GAR auth steps inside
.github/workflows/platform-e2e-tests.yml.