Skip to content

Enforce IssueLens labeling instructions#1684

Merged
chagong merged 1 commit into
mainfrom
chore/issuelens-gh-cli-labeling
Jul 2, 2026
Merged

Enforce IssueLens labeling instructions#1684
chagong merged 1 commit into
mainfrom
chore/issuelens-gh-cli-labeling

Conversation

@chagong

@chagong chagong commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove built-in GitHub MCP tools from the IssueLens workflow and agent so GitHub operations use gh with the Actions token
  • require .github/llms.md for labeling decisions and prevent fallback to repository label lists alone
  • validate labels in the label helper before calling gh issue edit

Validation

  • py -3 -m py_compile .github/skills/label-issue/scripts/label_issue.py
  • py -3 .github/skills/label-issue/scripts/label_issue.py microsoft vscode-java-pack 1683 "needs more info,ai-triaged" --dry-run
  • py -3 .github/skills/label-issue/scripts/label_issue.py microsoft vscode-java-pack 1683 "invalid,needs-more-info" --dry-run

@chagong chagong merged commit b3dc073 into main Jul 2, 2026
53 of 56 checks passed
@chagong chagong deleted the chore/issuelens-gh-cli-labeling branch July 2, 2026 04:36
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