Skip to content

Update IssueLens workflow integrations#1701

Open
chagong wants to merge 1 commit into
mainfrom
chore/issuelens-mcp-integrations
Open

Update IssueLens workflow integrations#1701
chagong wants to merge 1 commit into
mainfrom
chore/issuelens-mcp-integrations

Conversation

@chagong

@chagong chagong commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update the IssueLens workflow configuration
  • add dedicated GitHub and mailing integrations
  • align the agent instructions with the updated workflow

Validation

  • verified the workflow and agent configuration
  • compiled the mailing integration
  • confirmed the GitHub integration with a hosted workflow run

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_mcp stdio 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."""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants