Skip to content

Commit 4067cda

Browse files
committed
Add deprecation message to add-snippets input.
1 parent c24926b commit 4067cda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

analyze/action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ inputs:
3434
description: Specify whether or not to add code snippets to the output sarif file.
3535
required: false
3636
default: "false"
37+
deprecationMessage: >-
38+
The input "add-snippets" is deprecated and will be removed on the first release in August 2025.
39+
When this input is set to true it is expected to add code snippets with an alert to the SARIF file.
40+
However, since Code Scanning ignores code snippets provided as part of a SARIF file this is currently
41+
a no operation. No alternative is available.
3742
skip-queries:
3843
description: If this option is set, the CodeQL database will be built but no queries will be run on it. Thus, no results will be produced.
3944
required: false

0 commit comments

Comments
 (0)