Skip to content

Commit 14455b7

Browse files
authored
fix: Add warning to use the correct action (#2204)
People are getting confused which action to use. See #2194
1 parent a6df547 commit 14455b7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

action.dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# WARNING, this workflow is for legacy purposes. To view the current workflow see: https://github.com/google/osv-scanner-action
1516
FROM golang:1.24.6-alpine3.21@sha256:50f8a10a46c0c26b5b816a80314f1999196c44c3e3571f41026b061339c29db6
1617

1718
RUN mkdir /src
@@ -41,4 +42,8 @@ COPY ./exit_code_redirect.sh ./
4142

4243
ENV PATH="${PATH}:/root"
4344

44-
ENTRYPOINT ["bash", "/root/exit_code_redirect.sh"]
45+
ENTRYPOINT [
46+
"bash",
47+
"-c",
48+
"echo 'WARNING, this workflow is for legacy purposes. To view the current workflow see: https://github.com/google/osv-scanner-action' && /root/exit_code_redirect.sh"
49+
]

actions/scanner/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Currently experimental.
2+
# WARNING, this workflow is for legacy purposes. To view the current workflow see: https://github.com/google/osv-scanner-action
23
name: "osv-scanner"
34
description: "Scans your directory against the OSV database (Experimental)"
45
inputs:

0 commit comments

Comments
 (0)