mirror of
https://github.com/github/codeql-action.git
synced 2026-04-15 19:23:55 +00:00
Treat processing error for multiple runs with the same category as configuration error
This will result in it being reported as a user error rather than a failure
This commit is contained in:
1
lib/upload-lib.js
generated
1
lib/upload-lib.js
generated
@@ -605,6 +605,7 @@ function shouldConsiderConfigurationError(processingErrors) {
|
||||
const expectedConfigErrors = [
|
||||
"CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled",
|
||||
"rejecting delivery as the repository has too many logical alerts",
|
||||
"A delivery cannot contain multiple runs with the same category",
|
||||
];
|
||||
return (processingErrors.length === 1 &&
|
||||
expectedConfigErrors.some((msg) => processingErrors[0].includes(msg)));
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user