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

オープン 初心者向け
#62,822 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
documentation

調査の方向性

Console API ドキュメントで Service accounts のセクションを見つけ、現在アカウント設定がどのように説明されているかを読んでください。GitHub Actions OIDC のトークン交換について、トークンの有効期間、リポジトリ、ブランチ、イベントへの信頼を設定する場所、Go エンドポイントの使用方法とカウント方法を含めて記述してください。新しい「Use OpenCode from CI」セクションがこれらの質問に答えたら完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
225k
フォーク
30.4k
平均マージ
4時間 16分
マージ済み PR(30日)
528

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。