-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] [PyTorchBot] More understandable error message when labels canno…
…t be added (#6088) Fixes #5900 When a `ciflow` label is added to a PR, we normally trigger workflows against it. However, if the PR has not yet been authorized to actually run workflows then we do not allow the label to be added. (This feature was added by #4892) This change improves the reasoning given by the error messages, making it easier for the reviewer to understand why a label was not added to the PR and the steps they need to take to actually add the desired label.
- Loading branch information
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters