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