Sort OverlayDisabledReason enum

This commit is contained in:
Henry Mercer
2026-03-03 17:22:36 +01:00
parent 9f77ff18bb
commit eddf33655d
+6 -6
View File
@@ -12,12 +12,6 @@ import { RepositoryPropertyName } from "../feature-flags/properties";
export enum OverlayDisabledReason {
/** Overlay analysis was disabled by a repository property. */
DisabledByRepositoryProperty = "disabled-by-repository-property",
/** The top-level overlay analysis feature flag is not enabled. */
OverallFeatureNotEnabled = "overall-feature-not-enabled",
/** Overlay analysis is not enabled for one or more of the configured languages. */
LanguageNotEnabled = "language-not-enabled",
/** Overlay analysis is restricted to code-scanning-only configs but the config uses custom queries or packs. */
NonDefaultQueries = "non-default-queries",
/** The build mode is incompatible with overlay analysis. */
IncompatibleBuildMode = "incompatible-build-mode",
/** The CodeQL CLI version is too old to support overlay analysis. */
@@ -28,8 +22,14 @@ export enum OverlayDisabledReason {
InsufficientDiskSpace = "insufficient-disk-space",
/** The runner does not have enough memory to perform overlay analysis. */
InsufficientMemory = "insufficient-memory",
/** Overlay analysis is not enabled for one or more of the configured languages. */
LanguageNotEnabled = "language-not-enabled",
/** The source root is not inside a git repository. */
NoGitRoot = "no-git-root",
/** Overlay analysis is restricted to code-scanning-only configs but the config uses custom queries or packs. */
NonDefaultQueries = "non-default-queries",
/** The top-level overlay analysis feature flag is not enabled. */
OverallFeatureNotEnabled = "overall-feature-not-enabled",
/** Overlay analysis was skipped because it previously failed with similar hardware resources. */
SkippedDueToCachedStatus = "skipped-due-to-cached-status",
/** Disk usage could not be determined during the overlay status check. */