Files
codeql-action/src
Henry Mercer 6feed5452f Categorize Code Quality "not enabled" upload failure as user-error
When a repository requests Code Quality analysis but it is not enabled,
the SARIF upload to `PUT /repos/:owner/:repo/code-quality/analysis`
returns a 403 with the message "Code quality is not enabled for this
repository...". `isEnablementError` did not recognize this wording, so
`wrapApiConfigurationError` left it as a plain Error and the analyze job
was reported with `status=failure` instead of `user-error`.

Add a `/Code Quality is not enabled/i` pattern so the error becomes a
ConfigurationError and `getActionsStatus` categorizes it as `user-error`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 16:23:41 +01:00
..
2026-06-17 15:18:14 +01:00
2026-04-30 13:28:42 +01:00
2026-04-13 16:54:06 +01:00
2026-03-03 11:35:43 +00:00
2026-05-14 18:13:01 +01:00
2026-05-19 14:22:23 +01:00
2026-06-22 14:26:21 +01:00
2026-03-02 20:47:19 +00:00
2026-03-10 15:54:58 +00:00
2026-05-12 19:06:04 +01:00
2026-06-16 14:19:37 +01:00
2026-05-07 11:00:54 +01:00
2025-10-28 16:33:21 +00:00
2026-05-08 19:16:48 +01:00
2026-05-08 19:16:47 +01:00
2025-10-28 13:06:14 +00:00
2025-11-18 18:16:54 +00:00
2025-11-18 18:16:54 +00:00
2026-05-19 19:41:51 +01:00
2026-06-03 18:31:11 +01:00
2026-06-03 18:31:11 +01:00
2026-06-05 12:50:57 +01:00