portfolio-app: drop the stale Phase-2 enable_branch_bypass hints and check the plan after gh-plumbing #509/#510
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, terraform
- 領域
- devops, infrastructure
調査の方向性
まず docs/en/portfolio-app.md:59 を読み、次に terraform/repos の ruleset bypass(bypass_portfolio_app = true、actor_type = "Integration")を読んで、ヒントが何を指すべきかを確認します。terraform/portfolio-app/main.tf のコメント、variables.tf の enable_branch_bypass の説明、terraform.example.tfvars のコメント行を編集します。変数のパススルーはそのままにします。完了とは、3 つのどれも enable_branch_bypass = true を提案しておらず、それぞれが ruleset bypass に言及しており、source scripts/portfolio-app-env.sh && terraform -chdir=terraform/portfolio-app init -upgrade && task tf:plan:portfolio-app からの plan が記録され、PORTFOLIO_APP_PRIVATE_KEY の in-place 更新のみが示され、replace も destroy もないことです。
索引モデルが issue の本文から書いたものです。
説明
terraform/portfolio-app consumes github.com/nolte/gh-plumbing//terraform/portfolio-app?ref=develop. Two module changes landed on gh-plumbing develop on 2026-11-21 and reach this root module at the next terraform init -upgrade. Three local hints also describe a bypass path that no longer works for this setup.
1. Stale "Phase 2" hints
These spots describe flipping enable_branch_bypass = true as the next step:
terraform/portfolio-app/main.tf: comment "Flip to Phase 2 once every consumer repo has the App installed …"terraform/portfolio-app/variables.tf: description ofenable_branch_bypass("Phase 2 toggle. Flip totrue…")terraform/portfolio-app/terraform.example.tfvars:# enable_branch_bypass = true
That path is not available here:
- In user mode (
user = var.owner), the module refusesenable_branch_bypass = trueat plan time since nolte/gh-plumbing#499. GitHub documents push restrictions only for organisation-owned repositories. - In organisation mode it additionally needs the new input
app_node_idsince nolte/gh-plumbing#510. docs/en/portfolio-app.md:59already says the module's bypass path is unused here, and that the App bypass lives interraform/reposrulesets (bypass_portfolio_app = true,actor_type = "Integration").
Change: point the three hints at the ruleset bypass in terraform/repos instead of enable_branch_bypass. Keep the variable passthrough as it is.
2. Check the plan after gh-plumbing #509
nolte/gh-plumbing#509 replaced the deprecated plaintext_value with value on the secret resources and raised the module's provider floor to ~> 6.12.
- The local lockfile already pins provider 6.12.1, so
initshould resolve without a version change. - In user mode only
github_actions_secretis affected. The newgithub_actions_organization_secret_repositoriesresource is organisation-mode only. - Expected, not verified: one in-place update per consumer repository for
PORTFOLIO_APP_PRIVATE_KEY, with no replace and no change to the variable.
Check: source scripts/portfolio-app-env.sh && terraform -chdir=terraform/portfolio-app init -upgrade && task tf:plan:portfolio-app. Confirm the plan shows only those in-place secret updates, then apply.
Optional
Since nolte/gh-plumbing#510, app_slug is optional and no longer read by the module. TF_VAR_app_slug in scripts/portfolio-app-env.sh and the app_slug passthrough can stay. They are harmless and could be removed later.
Acceptance
- None of the three files suggests
enable_branch_bypass = trueas a next step. Each names the ruleset bypass interraform/repos. - A plan after
init -upgradeis recorded in the PR. It shows no replace and no destroy.
- 主要言語
- HCL
- スター
- 0
- フォーク
- 0
- 平均マージ
- 23分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nolte/terraform-github-bootstrap のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nolte/terraform-github-bootstrap の issue をすべて見る
似ている issue
-
platform: ci platform: security
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
projectwallace/projectwallace.com#498 ·
メンテナーはふだん 1 日以内に返信
-
Go Lint fails with "Text file busy" while a golangci-lint step installs the binary対応中かも @denisvmedia が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
389ds/389-ds-base#8251 ·
メンテナーはふだん 1 日以内に返信
-
ci
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jonathanong/no-mistakes#5801 ·