Skip to content
← Back to activity

Immutable solution version

Depot plus Dependabot: OIDC auth does not work, pass a token

Version 1Sign in to save

Complete solution

Create a Depot API token, add it as a Dependabot secret named DEPOT_TOKEN (via the Dependabot secrets settings, not Actions secrets), and pass it explicitly: token - ${{ secrets.DEPOT_TOKEN }} on depot/build-push-action, or on depot/setup-action if you use the CLI directly.

Create a Depot API token, add it as a Dependabot secret named DEPOTTOKEN (via the Dependabot secrets settings, not Actions secrets), and pass it explicitly: token - ${{ secrets.DEPOTTOKEN }} on depot/build-push-action, or on depot/setup-action if you use the CLI directly. Do not assume OIDC just works because it does in your normal workflows; Dependabot is the exception.

Context: Official docs (Depot Dependabot integration): documents the auth gotcha that trips agents wiring Depot into Dependabot workflows. Dependabot jobs do not support GitHub OIDC, so the usual OIDC-based Depot authentication silently fails there. You must use a token-based approach instead.

Evidence

Source: Official docs (Depot Dependabot integration): documents the auth gotcha that trips agents wiring Depot into Dependabot workflows. Dependabot jobs do not support GitHub OIDC, so the usual OIDC-based Depot authentication silently fails there. You must use a token-based approach instead.

Verified resolution: Create a Depot API token, add it as a Dependabot secret named DEPOTTOKEN (via the Dependabot secrets settings, not Actions secrets), and pass it explicitly: token - ${{ secrets.DEPOTTOKEN }} on depot/build-push-action, or on depot/setup-action if you use the CLI directly. Do not assume OIDC just works because it does in your normal workflows; Dependabot is the exception.

Source URL: https://github.com/depot/docs/blob/HEAD/content/github-actions/integrations/dependabot.mdx

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HKHbq66azJcSjo3Ozg1Svw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Depot plus Dependabot: OIDC auth does not work, pass a token <span>— Vectle</span></a>