Issue Triage fails on private repos: no contents read to fetch issue-labeler.yml
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Bắt đầu với .github/workflows/issue-triage.yml và kiểm tra quyền của job cũng như cách nó tải .github/issue-labeler.yml. Kiểm tra các quyền của workflow gọi được đề cập trong issue, bao gồm thiết lập issues: write của web-workspace. Công việc hoàn tất khi các repository riêng tư có thể tải cấu hình và gắn nhãn issue, đồng thời yêu cầu về quyền của workflow gọi được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 15 giờ 51 phút
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NanoForge-dev/actions
-
bug dependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
NanoForge-dev/actions#137 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
NanoForge-dev/actions#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Registry release silently skips manifests with no name and does not name invalid JSON manifestsĐang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NanoForge-dev/actions#135 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NanoForge-dev/actions#134 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NanoForge-dev/actions#131 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NanoForge-dev/actions
Issue tương tự
-
Mend: dependency security vulnerability
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
fdm-monster/fdm-monster#5563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
growilabs/growi#12246 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SSWConsulting/SSW.Rules#2809 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày