-
Notifications
You must be signed in to change notification settings - Fork 8
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
Workflow is now failing #27
Comments
My assumption is that this error originates from the block where the label is being created: https://github.com/pratikmallya/autolabeler-codeowners/blob/master/src/applyLabels.ts#L15-L33. I suspect it is attempting to recreate labels that already exist, leading to an error being thrown. |
Is that an issue that can be fixed on the PR or something should be done on the codeblock? I'm assuming GH did something new that is causing to break on that codeblock |
Yeah it looks like GitHub changed their error message - I think the catch block might need to be updated: // if label already exists
if (error.code !== 'already_exists') {
throw error
} |
Do you know if GH had any documentation on the error messaging change? |
Failure provides 1 error and 2 warnings
The text was updated successfully, but these errors were encountered: