From dfdb9b0af57c07e53ec5e5a8a0123bc5a07d82ca Mon Sep 17 00:00:00 2001 From: Christian Luu <35637788+christianvluu@users.noreply.github.com> Date: Sun, 19 Nov 2023 01:45:24 -0500 Subject: [PATCH] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 16012187..b89b1eab 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,7 +20,7 @@ jobs: pip install pylint git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} echo CI_COMMIT_SHA=${GITHUB_SHA} - tmp_files=$(git diff --name-only main ${CI_COMMIT_SHA}) + tmp_files=$(git diff --name-only origin/main ${CI_COMMIT_SHA}) echo "Changed files are $tmp_files" if [ -z "$(echo "$tmp_files" | grep "\.py")" ]; then exit 0; else echo "Python files are found"; fi tmp_pfiles=$(echo "$tmp_files" | grep "\.py")