ghaction-github-labeler: Tries to create label when label already exists
Hi! I’ve been testing out different action for syncing labels in a repo and your action lines up perfectly with what we need.
I keep running into an issue where the action doesn’t recognize one of my labels right away. When running the action then it attempts to create the label then fails saying a label with that name already exists:
🎨 Creating 'wontfix' label with color 'ffffff' and desc 'This will not be worked on'
##[error]Validation Failed: {"resource":"Label","code":"already_exists","field":"name"}
The label is listed under my labels with the same fields above. All of the other labels are properly being skipped over, but I’m unsure why this one isn’t?
I also tried using the from_name: with wontfix and it says the label can’t be found in order to rename it.
Let me know if there’s any more information you need to help with this or if you have any guidance/things to try to fix this issue! Thanks!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (13 by maintainers)
Commits related to this issue
- Update README (#69) — committed to crazy-max/ghaction-github-labeler by crazy-max 4 years ago
- Retrieve all labels through pagination (#69) — committed to crazy-max/ghaction-github-labeler by crazy-max 4 years ago
@crazy-max cool! thanks again!!
@ces131 Should be ok to bring back
crazy-max/ghaction-github-labeler@v1@crazy-max awesome, thanks so much! Really appreciate all of the work 💯
Ok nice! I will merge this branch and create a new release, keep you in touch!
It works! It’s recognizing the label and skipping over it. @crazy-max
@citycide Oups sorry 😅