Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Feature request: Sync repo/org secrets to local .env for local development

オープン
#598 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github, github-actions, typescript, vscode

調査の方向性

ファイルやテストは指定されていません。まず既存の Secrets ビューと Variables ビュー、および GitHub のログインフローを追跡し、提案されている secret 値の取得が安全にサポートされているかを確認してください。完了条件は、コマンドが対象範囲の secret 名をプレビュー表示し、workspace のルートにある .env に書き込む前に確認を求め、.gitignore が存在しない場合は追加することです。

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

説明

enhancement

Problem

Developers working locally must manually copy secrets into .env. Error-prone. Painful at scale. Drift between CI and local dev.

Extension already lists secret names in "Secrets" and "Variables" views. Cannot bridge to local env.

Proposed solution

Add command: "GitHub Actions: Pull Secrets to .env"

  1. Authenticate via existing GitHub login
  2. Fetch secret names for current repo + environments (same scope as Secrets view)
  3. Preview available secrets (names only)
  4. On confirm, fetch decrypted values (workflow-execution approach or new API endpoint)
  5. Write .env at workspace root (configurable)

Alternatives

Option Gap
Manual .env Current flow — time-consuming, drift-prone
act + secret file Need values already local. No help sourcing
GitHub Codespaces Auto-injects. But only for Codespaces, not local
gh extension Separate tool, extra auth context

Constraints

  • GitHub API does not expose secret plaintext (encrypted at rest by design)
  • Needs either: new API endpoint OR one-time workflow that echoes base64-encoded secret values
  • Solution parallel to how Codespaces injects secrets into the environment

Prior art

  • Codespaces: already auto-injects secrets into dev environment. This request brings parity to local dev.
  • #222 (500+ reactions): clear demand for improved secrets UX in extension

Success criteria

  • Open local repo in VS Code → run "Pull Secrets to .env"
  • GitHub auth (once) → see available secrets by scope
  • Confirm → .env written at workspace root
  • .env auto-.gitignore-d if absent
主要言語
TypeScript
スター
661
フォーク
214
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/vscode-github-actions のほかの issue

github/vscode-github-actions の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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