Conversation
…rity: none The auto-triage-issues workflow had no min-integrity configured, causing determine_automatic_lockdown.cjs to default to 'approved' for this public repo. Community issues (author_association=NONE) have 'none' integrity — below the 'approved' threshold — so DIFC blocked the agent from labeling 5 unlabeled community issues (#24128, #23963, #23935, #23178, #23148). Changes: - Add min-integrity: none to tools.github in auto-triage-issues.md - Add compiler and threat-detection to component label classification rules - Recompile lock file (removes determine-automatic-lockdown step, replaces with parse-guard-vars since min-integrity is now explicitly configured) Agent-Logs-Url: https://github.com/github/gh-aw/sessions/1461eb67-1f96-44c0-a97e-025f66ce2460 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot set community as approval label and keep approved min integrity |
…ead of none Instead of lowering min-integrity to none (permissive for all content), keep min-integrity: approved and add approval-labels: [community] so that issues already carrying the community label bypass the integrity check. This is consistent with the pattern used by other workflows (issue-monster, issue-triage-agent, etc.) and avoids unnecessarily widening the trust scope. The safe-outputs write-sink (accept: *) lets the agent write labels without DIFC blocking the add_labels call. Agent-Logs-Url: https://github.com/github/gh-aw/sessions/810029cf-38d6-496c-999d-6437902841fe Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in b12c1eb. Reverted Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot cookie and community are the approved labels. Create a share agentic workflow and refactor all AWs that use approval-labels |
…e it - Add shared/github-guard-policy.md with approval-labels: [cookie, community] - Remove hardcoded approval-labels: [cookie] from 18 workflows - Remove approval-labels: [community] from auto-triage-issues.md - Add import for shared/github-guard-policy.md to all 19 affected workflows - Recompile all lock files — GH_AW_APPROVAL_LABELS_EXTRA now set to cookie,community in every workflow Agent-Logs-Url: https://github.com/github/gh-aw/sessions/67559ffd-0ee3-4c57-9599-a5a583f414f8 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in 3f5f978. Created Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot merge main, recompile |
…abel-unlabeled-issues # Conflicts: # .github/workflows/issue-triage-agent.lock.yml # .github/workflows/pr-triage-agent.lock.yml # .github/workflows/stale-repo-identifier.lock.yml # .github/workflows/weekly-issue-summary.lock.yml Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c587e82a-9f15-4d34-aa57-9677fc5acc7b Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in 83d490d. Merged origin/main (resolved conflicts in 4 lock files), rebuilt the binary, and recompiled all 179 workflows — 0 errors. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This comment has been minimized.
This comment has been minimized.
|
Hey A couple of things to address before this leaves draft:
Once out of draft and tests are added, this looks ready for maintainer review. 🚀
|
There was a problem hiding this comment.
Pull request overview
This PR fixes auto-triage labeling for community-authored issues by centralizing GitHub MCP guard approval-label policy and applying it across workflows so community/cookie-labeled items can pass the integrity gate.
Changes:
- Added a shared guard policy (
shared/github-guard-policy.md) defining standardapproval-labels: [cookie, community]. - Updated
auto-triage-issuesto import the shared policy, explicitly setmin-integrity: approved, and expanded component classification (compiler,threat-detection). - Refactored multiple workflows to remove inline
approval-labelsand recompiled lockfiles soGH_AW_APPROVAL_LABELS_EXTRAincludescookie,community.
Reviewed changes
Copilot reviewed 39 out of 39 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/shared/github-guard-policy.md | New shared import that standardizes GitHub guard approval-labels across workflows. |
| .github/workflows/auto-triage-issues.md | Imports shared guard policy, sets min-integrity: approved, and adds new component label heuristics. |
| .github/workflows/auto-triage-issues.lock.yml | Recompiled; switches to parsed guard vars and embeds standardized approval labels/trust lists into MCP guard config. |
| .github/workflows/workflow-generator.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/workflow-generator.lock.yml | Recompiled to include runtime-import of shared guard policy and cookie,community in parsed approval labels. |
| .github/workflows/weekly-safe-outputs-spec-review.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/weekly-safe-outputs-spec-review.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/weekly-issue-summary.md | Removes inline approval-labels and imports shared guard policy alongside existing shared imports. |
| .github/workflows/weekly-issue-summary.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/weekly-blog-post-writer.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/weekly-blog-post-writer.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/stale-repo-identifier.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/stale-repo-identifier.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/smoke-copilot.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/smoke-copilot.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/smoke-agent-scoped-approved.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/smoke-agent-scoped-approved.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/smoke-agent-public-approved.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/smoke-agent-public-approved.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/refiner.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/refiner.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/pr-triage-agent.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/pr-triage-agent.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/org-health-report.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/org-health-report.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/issue-triage-agent.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/issue-triage-agent.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/issue-monster.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/issue-monster.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/issue-arborist.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/issue-arborist.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/grumpy-reviewer.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/grumpy-reviewer.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/discussion-task-miner.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/discussion-task-miner.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/daily-issues-report.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/daily-issues-report.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
| .github/workflows/daily-doc-updater.md | Removes inline approval-labels and imports shared guard policy. |
| .github/workflows/daily-doc-updater.lock.yml | Recompiled to include shared guard policy import and cookie,community approval labels extra. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The
auto-triage-issuesworkflow couldn't label issues from community contributors (author_association: NONE) because it had no explicitmin-integrityorapproval-labelsconfigured — causingdetermine_automatic_lockdown.cjsto default toapprovedfor this public repo. Since community issues carrynoneintegrity (belowapproved), DIFC blocked the agent from processing them.Changes
shared/github-guard-policy.md(new): Shared agentic workflow that centralizes the standard approval labels for the repository —approval-labels: [cookie, community]. All workflows import this instead of declaring approval labels inline.auto-triage-issues.md: Keepmin-integrity: approvedand importshared/github-guard-policy.mdso issues carrying thecommunitylabel bypass the integrity check.auto-triage-issues.md: Addcompilerandthreat-detectionto the component label classification rules — both labels already exist in the repo and are directly relevant to the backlogged issues.approval-labels: [cookie](or[community]) from every workflow and replaced with an import ofshared/github-guard-policy.md. Affected workflows includedaily-issues-report,issue-monster,issue-triage-agent,grumpy-reviewer,org-health-report,pr-triage-agent,refiner,smoke-agent-public-approved,smoke-agent-scoped-approved,smoke-copilot,stale-repo-identifier,weekly-blog-post-writer,weekly-issue-summary,weekly-safe-outputs-spec-review,workflow-generator, and others.GH_AW_APPROVAL_LABELS_EXTRA: cookie,communityin theparse-guard-varsstep.