issue-triage: outside contributors' issues are never triaged (default roles, then automatic min-integrity: approved)
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions
研究方向
Start with the event-driven issue-triage workflow template and its on: block, then the tools.github section where min-integrity would go. Also check the docs page and gallery entry the issue mentions, since they need the same settings described. Done means an outside author's issues event is not cancelled by the role check, the GitHub tools return the triggering issue, and the token stays read-only with safe-outputs unchanged. Check the daily variant's min-integrity: none for comparison. Security-sensitive, so confirm the maintainers accept the unapproved level first.
由索引模型根據 Issue 內容生成。
描述
The issue-triage template has no on.roles and no tools.github.min-integrity, so on a public repo it never triages an issue opened by someone outside the repo. Two separate gates are involved.
- The role check. With no
on.roles, gh-aw uses[admin, maintainer, write], andissuestriggers enforce it (triggers reference, "Filtering by Repository Access Roles"). A run for an outside author is cancelled. - The integrity filter. Setting
roles: allisn't enough on its own. With nomin-integrity, gh-aw setsapprovedon public repos (integrity reference), and the GitHub MCP tools then drop content byCONTRIBUTOR,FIRST_TIMERandNONEauthors. That includes the issue being triaged.
Reproduction
In shbernal/pptx-ts I run a copy of this template with roles: all added. An account with no association to the repo opened the same issue twice.
- Before the fix, run 38776513670 (issue shbernal/pptx-ts#290). The log shows
min-integrity not configured — automatically setting to 'approved' for public repository. The agent triedissue_read,list_issuesandsearch_issues. Each one returned other issues but filtered out the triggering one, so the agent emittedmissing_dataand the run failed. - After the fix, run 38777502240 (issue shbernal/pptx-ts#293). The agent read the issue, found the fixed duplicate, labelled it and posted the report.
Other adopters hit the same two gates and added both settings by hand:
- google/fonts added
roles: allin 6ebbbf4, thenmin-integrity: nonein google/fonts#11112 ("Allow unknown users to be triaged"). - microsoft/typespec and PowerShell/Win32-OpenSSH also set both, each with a comment explaining why.
Suggested change
on:
issues:
types: [opened, reopened]
reaction: eyes
roles: all
permissions:
contents: read
issues: read
pull-requests: read # the default toolsets include pull_requests; the compiler asks for it once tools.github is declared
tools:
github:
min-integrity: unapproved # the integrity guide recommends this level for community triage
allowed-repos: public # a custom guard policy replaces the automatic one, whose repo scope was public
The template's guardrails don't change: the token stays read-only and every write goes through safe-outputs with an allowed label list. unapproved still keeps blocked users out. I'd also add a line to the docs page and the gallery entry, since neither mentions either setting. The daily variant already sets min-integrity: none, so this is only about the event-driven one.
I can open a PR if that helps.
- 主要語言
- Python
- 星號
- 1.1k
- 分支
- 163
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
githubnext/agentics 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
githubnext/agentics#420 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
難度 1/5 1 小時以內 新手友好度 1/100
githubnext/agentics#419 ·
-
Frontend未關閉
難度 5/5 一週以上 新手友好度 1/100
githubnext/agentics#418 ·
-
agentic-workflows
難度 2/5 1 小時以內 新手友好度 8/100
githubnext/agentics#415 · 1 則留言 ·
查看 githubnext/agentics 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
bad-antics/lateralus-lang#1489 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 66/100
-
難度 1/5 1 小時以內 新手友好度 69/100
anderspitman/awesome-tunneling#330 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
scikit-hep/coffea#1668 ·