Update IssueLens workflow integrations#1701
Open
chagong wants to merge 1 commit into
Open
Conversation
chagong
requested review from
jdneo,
testforstephen and
wenytang-ms
as code owners
July 24, 2026 08:37
There was a problem hiding this comment.
Pull request overview
This PR updates the IssueLens GitHub Actions workflow to run issue triage via a constrained Copilot CLI setup, and adds a dedicated MCP-based mailing integration, alongside updated agent instructions to match the new tool boundaries.
Changes:
- Harden the IssueLens workflow (pinned actions, added concurrency, constrained MCP tools, added Python toolchain).
- Add a
mailing_mcpstdio server implementation for sending triage reports via a configured HTTPS endpoint. - Update the IssueLens agent instructions to use
github_mcp/*+mailing_mcp/*tools and stricter safety/labeling constraints.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/issueLens-run.yml | Refactors the IssueLens workflow to run Copilot CLI with constrained MCP tools and adds concurrency + pinned actions. |
| .github/scripts/mailing_mcp.py | Introduces an MCP stdio server to send triage summary emails via a configured HTTPS endpoint. |
| .github/agents/issuelens.agent.md | Aligns agent instructions with the new constrained GitHub + mailing MCP tooling model. |
| run: | | ||
| set -euo pipefail | ||
| mcp_config="$RUNNER_TEMP/mcp-config.json" | ||
| cat > "$mcp_config" <<'JSON' |
Comment on lines
+123
to
+124
| --available-tools='view,glob,grep,github_mcp/*,mailing_mcp/*,javatooling-search/*' \ | ||
| --allow-tool='read,github_mcp(issue_read),github_mcp(search_issues),github_mcp(add_issue_comment),github_mcp(update_issue_labels),mailing_mcp(send_email),javatooling-search(search_issues)' \ |
|
|
||
| @server.tool() | ||
| def send_email(title: str, body: str) -> str: | ||
| """Send a plain-text issue triage report to the configured recipients.""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation