Skip to content

Conversation

@JoannaaKL
Copy link
Contributor

Summary

Add new workflow to automatically add a label for the AI Labeler workflow.

Why

Most of issues in this repo are created without labels. AI Labeler is only triggered if an issue labels match expected label.

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

N/A

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

@JoannaaKL JoannaaKL requested a review from a team as a code owner January 16, 2026 13:33
Copilot AI review requested due to automatic review settings January 16, 2026 13:33
Copy link
Contributor

Copilot AI left a comment

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 adds automation to label all newly opened or reopened issues with "request ai review" to ensure the AI Labeler workflow can process them. The change addresses the problem where issues created without labels don't trigger AI assessment.

Changes:

  • New workflow file to automatically add "request ai review" label to all opened/reopened issues
  • Updated AI assessment workflow to trigger on the "request ai review" label instead of checking for unlabeled issues
  • Minor formatting changes to use double quotes consistently

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/issue-labeler.yml New workflow that adds "request ai review" label to all opened/reopened issues
.github/workflows/ai-issue-assessment.yml Updated to trigger on "request ai review" label and standardized quote usage
Comments suppressed due to low confidence (1)

.github/workflows/ai-issue-assessment.yml:11

  • The condition still checks for unlabeled issues on 'opened' events, but the new issue-labeler.yml workflow will add 'request ai review' label immediately on opened issues. This creates a race condition where the AI assessment may not run if the label is added before this workflow checks. The condition should be updated to trigger when labeled with 'request ai review' or remove the unlabeled check entirely since all new issues will now have the label.
    if: >
      (github.event.action == 'opened' && github.event.issue.labels[0] == null) ||
      (github.event.action == 'labeled' && github.event.label.name == 'bug')

JoannaaKL and others added 3 commits January 16, 2026 14:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JoannaaKL JoannaaKL merged commit 7c053f1 into main Jan 16, 2026
15 checks passed
@JoannaaKL JoannaaKL deleted the update-ai-labeler branch January 16, 2026 13:51
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