tend check: configuration drift on diffplug/dormouse
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/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, typescript
Hướng nghiên cứu
The reported behavior is in the upstream tend checker; this issue mentions .github/workflows/hosted-production.yml and docs/specs/security-ci.md as evidence for the repository’s setup. Start by reviewing tend’s tag-ruleset matching and credential-environment checks, then trace whether it follows workflow needs dependencies. Done means the checks recognize the split rulesets and gated workflow, without recommending a fix that conflicts with the documented App-bypass rule.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
tend check (tend 0.3.24, the pinned version) reports two FAILs on diffplug/dormouse. actions-event-policy is SKIP because the bot's token cannot read the Actions policies. Every other check passes.
tag-protection(FAIL): tend reports that the bot can create or repoint a tag and suggeststend check --fixto create an admin-gated all-tags ruleset.credential-environments(FAIL): tend reports thatblyg-publish,release-attest, andsecurity-audithave no required reviewers and admit tags, with no all-tags ruleset restricting tags to admins that it could verify. It also reports thathosted-release-taghas no required reviewers and is reached byworkflow_dispatch, so tend does not count its ref list as a gate.
These look like the check misreading this repository's layout, not real exposure. Tag protection is split across three rulesets, as docs/specs/security-ci.md requires. Tag operations covers ~ALL except refs/tags/hosted/** and blocks creation and update. Hosted tag creation and Hosted tag history cover refs/tags/hosted/**. The API reports current_user_can_bypass: never for the bot on all three. tend looks for a single all-tags ruleset, so it does not recognize the split. For hosted-release-tag, the only job using it (tag in .github/workflows/hosted-production.yml) needs: deploy, and deploy runs in hosted-production, which requires review from Ned or Edgar. A bot-fired dispatch therefore stops before the tag job. tend does not follow that needs chain.
Running tend check --fix as suggested would add an all-tags ruleset that also covers hosted/**. Unless the dormouse-hosted-tagger App were added as a bypass actor, that ruleset would block the App's tag creation. Adding the bypass would in turn break the security-ci.md rule that the App bypasses only Hosted tag creation. Two other ways to clear the FAILs: a tend change that unions tag rulesets and follows needs, or a required reviewer on hosted-release-tag, which the spec currently says requires no review. Filed upstream as max-sixty/tend#1637; #1526 warns against tend check --fix here. Until a tend release fixes it, these two FAILs are expected on every sweep.
Last refreshed: 2026-11-10
- Ngôn ngữ chính
- TypeScript
- Star
- 7
- Fork
- 1
- Merge trung bình
- 11 giờ 37 phút
- Pull request đã merge (30 ngày)
- 463
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 diffplug/dormouse
-
Creation allowance reachedĐang mởtend-rate-limit
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
diffplug/dormouse#1681 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Evaluate wtermĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
diffplug/dormouse#1604 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Red team: November 2026Đang mởred-team
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
Maintainer thường phản hồi trong vòng 1 ngày
-
review-runs-tracking: 2026-11Đang mởreview-runs-tracking
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
diffplug/dormouse#1492 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của diffplug/dormouse
Issue tương tự
-
Language request: NixĐang mởenhancement language
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
pngwn/twinkleplop#178 ·
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
resend/react-email#3889 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
build P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
maniator/verticopolis#1945 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Admin users page number stays stale after filteringCó thể đã có người làm @matthewxkong đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100