From 348e3c48c239fb39744e9ef5d6416ba410636352 Mon Sep 17 00:00:00 2001 From: mastersans Date: Fri, 29 Mar 2024 16:48:20 +0530 Subject: [PATCH] feat: action --- .github/workflows/checker-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checker-test.yml b/.github/workflows/checker-test.yml index 78af9a39a3..953f0bdce7 100644 --- a/.github/workflows/checker-test.yml +++ b/.github/workflows/checker-test.yml @@ -29,7 +29,7 @@ jobs: - name: Get changed files in checkers directory id: changed-files run: | - files=$(git diff --name-only main | grep '^cve_bin_tool/checkers/' | xargs) + files=$(git diff-tree --no-commit-id --name-only -r origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA | grep '^cve_bin_tool/checkers/' | xargs) echo "::set-output name=files::$files"