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

chore: 9569 image build fails — GH_PAT not provided to build workflow

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, github-actions, shell
領域
ci-cd

調査の方向性

.github/workflows/build.yml と、イメージ 9569 に対する build.sh の呼び出しから始め、workflow の環境とスクリプトが必要とする変数を比較してください。変更後、workflow_dispatch を使って workflow を実行してください。GH_PAT がないというエラーなしで 9569 のビルドが成功し、イメージのビルドで #2 を検証できれば完了です。

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

説明

chore

Observed 2026-10-07 while merging the Python 3.7→3.11 base bump (#2): the Build and Publish Devcontainers run for the merge commit failed.

Evidence: run 37574650438, job build (9569):

Error: GH_PAT environment variable is not set.
##[error]Process completed with exit code 1.

Cause: .github/workflows/build.yml logs in to ghcr with GITHUB_TOKEN, but build.sh separately requires a GH_PAT environment variable that the workflow never sets — so every push touching 9569/** fails at the build-script step. (tnl/nysd legs only "succeed" because their step conditions skip them when the commit message doesn't mention those subdirs.)

Impact: the 3.11 base bump in #2 could not be validated by an image build (pre-existing breakage, unrelated to the Dockerfile change). The image at ghcr.io is presumably stale.

Suggested fix: provide GH_PAT as a repo secret (fine-grained PAT with write:packages) and pass it in the build step (env: GH_PAT: ${{ secrets.GH_PAT }}), or refactor build.sh to use the already-logged-in docker session. Then re-run the workflow via workflow_dispatch to validate #2's image.

主要言語
Shell
スター
0
フォーク
0
平均マージ
7分
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

似ている issue

Shell/Bash の issue をもっと見る

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

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