From 9d5879b7960b420874c83e18298db140f2f30956 Mon Sep 17 00:00:00 2001 From: dqy <1016751306@qq.com> Date: Wed, 24 Apr 2024 17:17:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/detection.yml | 5 ++--- action.yml | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/detection.yml b/.github/workflows/detection.yml index 916656f..f4cca70 100644 --- a/.github/workflows/detection.yml +++ b/.github/workflows/detection.yml @@ -23,7 +23,6 @@ jobs: - uses: actions/checkout@v2 - uses: ./ # 使用当前仓库的根目录下的 action.yml with: - code_path: "./src" - vulnerabilities_file: "./data/vulnerabilities.txt" - requirements_file: "./data/requirements.txt" + code_path: "./tests" + requirements_file: "./requirements.txt" output_format: "txt" diff --git a/action.yml b/action.yml index 38160ce..75ef916 100644 --- a/action.yml +++ b/action.yml @@ -4,9 +4,6 @@ inputs: code_path: description: "Path to the code directory to be analyzed." required: true - vulnerabilities_file: - description: "Path to the vulnerabilities file for requirements detection." - required: true requirements_file: description: "Path to the requirements.txt file." required: true