Skip to content

Commit bbfff2f

Browse files
authored
Merge pull request #2999 from github/henrymercer/deprecate-cleanup-level
Deprecate the 'cleanup-level' option
2 parents e37c036 + 87e59d0 commit bbfff2f

11 files changed

+24
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
44

55
## [UNRELEASED]
66

7-
No user facing changes.
7+
- The `cleanup-level` input to the `analyze` Action is now deprecated. The CodeQL Action has not written intermediate results to the database since version 2.2.5, so this option now has little to no practical use. [#2998](https://github.com/github/codeql-action/pull/2998)
88

99
## 3.29.5 - 29 Jul 2025
1010

analyze/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ inputs:
1919
# If changing this, make sure to update workflow.ts accordingly.
2020
default: "always"
2121
cleanup-level:
22-
description: "Level of cleanup to perform on CodeQL databases at the end of the analyze step. This should either be 'none' to skip cleanup, or be a valid argument for the --cache-cleanup flag of the CodeQL CLI command 'codeql database cleanup' as documented at https://codeql.github.com/docs/codeql-cli/manual/database-cleanup"
22+
description: >-
23+
DEPRECATED. This option is ignored since, for performance reasons, the CodeQL Action no longer saves
24+
intermediate results during evaluation.
2325
required: false
24-
default: "brutal"
2526
ram:
2627
description: >-
2728
The amount of memory in MB that can be used by CodeQL for database finalization and query execution.

lib/analyze-action-env.test.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-env.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action-input.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)