[FEATURE]: Document the GitHub Actions OIDC token exchange for service accounts

Aperta Adatta ai principianti
#62,822 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
documentation

Direzione di ricerca

Individua la sezione sui Service accounts nella documentazione della Console API e leggi come descrive attualmente la configurazione degli account. Documenta lo scambio di token GitHub Actions OIDC, inclusa la durata del token, dove viene configurata la fiducia nel repository, nel branch e nell’evento, nonché l’utilizzo e il conteggio dell’endpoint Go. Il lavoro è completato quando la nuova sezione “Use OpenCode from CI” risponde a queste domande.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

The Console shows a GitHub Actions snippet for service accounts that exchanges the job's OIDC token at https://opencode.ai/console/auth/oauth/token (token-exchange grant, audience https://opencode.ai/console). It works well, but it isn't in the docs, so there's nowhere to check:

  • how long the issued token lasts
  • which repositories, branches, or events a service account trusts, and where that is configured
  • whether the token can be used with the Go endpoints, and how its usage is counted

A short "Use OpenCode from CI" section next to Service accounts in the Console API docs would cover it.

Lingua principale
TypeScript
Stelle
225k
Fork
30.4k
Merge medio
4h 16m
PR unite (30g)
528

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.