Skip to content

Onboard the GitHub Action based Issue-Labeler #115256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jeffhandley
Copy link
Member

These workflows replace the issue-labeler implementation that runs as a GitHub app, allowing training and prediction for the repository's labels without the need for an external service.

References:

Once this is merged, I'll run the 'Labeler: Training' workflow to train new prediction models, then 'Labeler: Promotion' workflow to promote the models into active use, and then decommission the integration of the issue-labeler app for this repo.

@jeffhandley jeffhandley requested a review from ericstj May 2, 2025 23:06
@jeffhandley jeffhandley self-assigned this May 2, 2025
@Copilot Copilot AI review requested due to automatic review settings May 2, 2025 23:06
@jeffhandley jeffhandley requested a review from a team as a code owner May 2, 2025 23:06
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 2, 2025
Copy link
Contributor

@Copilot 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 implements GitHub Action workflows to replace the GitHub App-based issue labeler, enabling training, model promotion, prediction for pull requests and issues, as well as regular cache retention.

  • Added workflows for training, promoting, predicting labels for PRs and issues, and maintaining cache retention.
  • Configured input parameters, environment variables, and conditional jobs for different phases of the labeler pipeline.

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/labeler-train.yml Added workflow to train models for issues and pull requests.
.github/workflows/labeler-promote.yml Added workflow to promote models from staging to active use.
.github/workflows/labeler-predict-pulls.yml Added workflow to predict pull request labels using a trained model.
.github/workflows/labeler-predict-issues.yml Added workflow to predict issue labels using a trained model.
.github/workflows/labeler-cache-retention.yml Added workflow to periodically refresh cached models to prevent eviction.

@jeffhandley jeffhandley added area-Infrastructure and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 2, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@jeffhandley
Copy link
Member Author

/ba-g Helix Queue Insights (preview) is stuck, but not applicable here

@jeffhandley jeffhandley merged commit 34fae1f into dotnet:main May 6, 2025
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants