Issue Triage fails on private repos: no contents read to fetch issue-labeler.yml
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions
- 領域
- ci-cd
調査の方向性
.github/workflows/issue-triage.ymlから始めて、jobの権限と.github/issue-labeler.ymlの読み込み方法を調べてください。issueで言及されている呼び出し元workflowの権限を確認し、web-workspaceのissues: write設定も確認してください。private repositoryで設定を読み込んでissueにラベルを付けられるようになり、呼び出し元workflowに必要な権限が文書化されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
Issue description
The shared Issue Triage workflow fails on every private repo: the job can't read .github/issue-labeler.yml, so new issues are never labelled.
The job grants only issues: write and has no checkout step (issue-triage.yml#L9-L23). github/issue-labeler then fetches the config through the API, which needs contents: read on a private repo:
Configuration file (path: .github/issue-labeler.yml) does not exist locally, fetching via the API
Error loading configuration file: HttpError: Resource not accessible by integration
Seen on:
- NanoForge-dev/web-workspace (private): the last 4 runs failed, e.g. run 42326546452 (2026-11-07);
- NanoForge-dev/API (private): the last 3 runs failed, e.g. run 42311564887;
- NanoForge-dev/CLI (public) succeeds with the same workflow, because public contents are readable without the permission.
Steps to reproduce:
- Open an issue in a private repo that calls
nanoforge-dev/actions/.github/workflows/issue-triage.yml@v3with onlyissues: write(e.g. web-workspace). - The "Label issue" step fails with the error above.
Expected: the job reads the config and labels the issue. Fix direction: add contents: read to the job's permissions (or a checkout step), and document that callers must grant it too (web-workspace's caller grants only issues: write).
Found while reviewing web-workspace labels (branch chore/app-labels).
Code sample
No response
Versions
- nanoforge-dev/actions v3 (
mainat a4f8ac2a2f0b9c1b24e6d5c3e69c86c7bf0588de), github/issue-labeler v3.4 - GitHub-hosted ubuntu-latest
Issue priority
Medium (should be fixed soon)
I have tested this issue on a development release
No response
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 15時間 51分
- マージ済み PR(30日)
- 21
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NanoForge-dev/actions のほかの issue
-
bug dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
NanoForge-dev/actions#137 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
NanoForge-dev/actions#136 ·
メンテナーはふだん 1 日以内に返信
-
Registry release silently skips manifests with no name and does not name invalid JSON manifestsオープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
NanoForge-dev/actions#135 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NanoForge-dev/actions#134 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NanoForge-dev/actions#131 ·
メンテナーはふだん 1 日以内に返信
NanoForge-dev/actions の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
fdm-monster/fdm-monster#5563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
growilabs/growi#12246 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 The Rulekeeper - An index run that gives up on the lock ends Succeeded対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SSWConsulting/SSW.Rules#2809 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信