This repository uses actions from dotnet/issue-labeler to predict area labels for issues and pull requests.
The following workflow templates were imported and updated from dotnet/issue-labeler/wiki/Onboarding:
labeler-cache-retention.ymllabeler-predict-issues.ymllabeler-predict-pulls.ymllabeler-promote.ymllabeler-train.yml
Across these workflows, the following changes were made to configure the issue labeler for this repository:
- Set
LABEL_PREFIXto"area-":labeler-predict-issues.ymllabeler-predict-pulls.ymllabeler-train.yml
- Set
DEFAULT_LABELto"needs-area-label":labeler-predict-issues.ymllabeler-predict-pulls.yml
- Remove the
EXCLUDED_AUTHORSvalue as we do not bypass labeling for any authors' issues/pulls in this repository:labeler-predict-issues.ymllabeler-predict-pulls.yml
- Update the pull request labeling branches to include
mainandrelease/*:labeler-predict-pulls.yml
- Remove the
repositoryinput for training the models against another repository:labeler-train.yml
- Update the cache retention cron schedule to an arbitrary time of day:
labeler-cache-retention.yml
The following repository variables can be configured to override default workflow behavior:
| Variable | Description | Default |
|---|---|---|
ISSUE_LABELER_PREDICTION_THRESHOLD |
The minimum prediction confidence threshold for applying an area label. Predictions below this threshold will apply the DEFAULT_LABEL instead. |
0.05 |