Skip to content

Conversation

@jeffhandley
Copy link
Member

Follow up to #11781.

This updates the workflows to reflect that this repository has the labeler disabled for pull requests. By removing "pulls" from the cache-retention job, that job will not try to restore the pulls model (and fail). The job should be green daily to show the issues model was successfilly restored (and therefore prediction can succeed).

This also adds comments to the workflows and a markdown file documenting the configuration of the issue-labeler, based on feedback received in another repo.

@jeffhandley jeffhandley requested a review from a team as a code owner May 6, 2025 18:48
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 updates the issue-labeler workflows to reflect that pull request prediction is disabled and enhances documentation to clarify repository configuration.

  • Added a new markdown file to document workflow configuration.
  • Modified workflow templates (train, cache retention, predict-pulls) to disable pull training and adjust defaults.
  • Updated comments in workflow files for improved clarity.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/labeler.md Added documentation outlining workflow configuration changes and settings.
.github/workflows/labeler-train.yml Changed default model training option from "Both" to "Issues".
.github/workflows/labeler-promote.yml Added header documentation comments.
.github/workflows/labeler-predict-pulls.yml Added header documentation comments and noted that the workflow is disabled via UI.
.github/workflows/labeler-predict-issues.yml Added header documentation comments.
.github/workflows/labeler-cache-retention.yml Updated matrix to remove "pulls" and provided an explanatory comment.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JanProvaznik JanProvaznik merged commit 83b0079 into dotnet:main May 7, 2025
10 checks passed
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.

3 participants