Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github-labeler: check if the label exists before adding it
The GitHub API automatically creates a label when applying it (if it doesn't exist already), so we need to check if the label exists in the repo before we go to apply (and create) it. This way, the humans have control over which labels are created and assigned, which is how the bot should work.
- Loading branch information
Showing
1 changed file
with
17 additions
and
7 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