Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpError: Label does not exist (although it is defined for the project) #60

Closed
andthum opened this issue Feb 7, 2023 · 2 comments
Closed

Comments

@andthum
Copy link

andthum commented Feb 7, 2023

Related issues #20, #32
Related PRs #57

With issue-labeler version 2.5, I got UnhandledPromiseRejectionWarning: HttpError: Label does not exist warnings but the workflow passed and the PRs got labelled as expected (e.g. andthum/mdtools#138, https://github.com/andthum/mdtools/actions/runs/4076674579/jobs/7024720065).

Now with issue-labeler version 2.6, I get HttpError: Label does not exist errors and the workflow fails, although the PRs still get labelled as expected (e.g. andthum/mdtools#140, https://github.com/andthum/mdtools/actions/runs/4113712400/jobs/7100168530).

I think this behavior change was introduced with PR #57.

My questions:

  1. Why does the warning (v2.5) / error (v2.6) pop up at all? The labels have been defined for the repository (https://github.com/andthum/mdtools/labels).
  2. What do I have to do to fix the HttpError: Label does not exist error?

If this helps: My issue-labeler config file can be found here and my issue-labeler workflow is defined here.

@balazsorban44: If you have time and the required expertise, could you please help me out? Many thanks!

@balazsorban44
Copy link
Contributor

balazsorban44 commented Feb 8, 2023

#59 (comment)

@andthum
Copy link
Author

andthum commented Feb 8, 2023

Thanks for your reply and your contributions to this project. Then I will wait for the new release and see if this fixes my issue.

I will close the issue for now and re-open if the issue persists in the upcoming release.

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

No branches or pull requests

2 participants