-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Bug]: Issue creation fails if the label is not present #530
Comments
Adding @prudhvigodithi @peterzhuamazon to add thoughts. I think we should create the missing labels instead of ignoring. WDYT? |
The |
That is fine right? If the label exists all the workflows will use the same but for missing ones, not sure if we have any GH command to ignore the label if not present. |
We can add a check for the label and create a new label if doesn't exist and proceed with the issue creation after label creation. |
Describe the bug
The createGithubIssue library fails if the a label is missing from the repo
To reproduce
See https://build.ci.opensearch.org/view/Build/job/distribution-build-opensearch/10382/console
Expected behavior
Either ignore the label if not present or create a new one.
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: