From 4067cdab784c667cf1b7fa95169f3a0e0a381d63 Mon Sep 17 00:00:00 2001 From: Remco Vermeulen Date: Tue, 20 Aug 2024 18:02:40 -0700 Subject: [PATCH] Add deprecation message to `add-snippets` input. --- analyze/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/analyze/action.yml b/analyze/action.yml index 2742bdf34c..aade3426a1 100644 --- a/analyze/action.yml +++ b/analyze/action.yml @@ -34,6 +34,11 @@ inputs: description: Specify whether or not to add code snippets to the output sarif file. required: false default: "false" + deprecationMessage: >- + The input "add-snippets" is deprecated and will be removed on the first release in August 2025. + When this input is set to true it is expected to add code snippets with an alert to the SARIF file. + However, since Code Scanning ignores code snippets provided as part of a SARIF file this is currently + a no operation. No alternative is available. skip-queries: 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. required: false