Skip to content

Commit 981f4e9

Browse files
committed
Add warning for usage of v1/v2 GitHub action
1 parent 5571979 commit 981f4e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

misc/github-action.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#!/bin/sh -l
22

3+
# NOTE:
4+
# This file is invoked by datadog-static-analyzer-github-action@v1 and v2. These actions are
5+
# no longer supported. Any proposed changes to the logic below should be added instead to the
6+
# action steps in datadog-static-analyzer-github-action@v3.
7+
8+
echo "::warning title=Unsupported Action Version::datadog-static-analyzer-github-action@v1 and v2 are unsupported.%0A%0AConsider upgrading to v3.%0A%0ASee: https://github.com/DataDog/datadog-static-analyzer-github-action/releases/tag/v3.0.0"
9+
310
########################################################
411
# Check variables
512
########################################################

0 commit comments

Comments
 (0)