Originally published on DevToolHub .
With workload identity federation GitHub Actions and GitLab CI jobs call GCP using a short-lived token instead of a service account key. You create a workload identity pool, add one OIDC provider per CI system, and let the pool impersonate a service account. I ran this end to end on 3 December 2026 for both CI systems, and the first GitHub run failed for a reason the docs only half explain.
I tested with the Google Cloud SDK 594.0.1 in a Docker container, google-github-actions/auth@v3 on a GitHub-hosted runner, and a GitLab.com pipeline using google/cloud-sdk:slim . Both jobs authenticated as the same service account.…