Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvluu authored Nov 19, 2023
1 parent c795535 commit d6a9c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
echo CI_COMMIT_SHA=${CI_COMMIT_SHA}
echo CI_MERGE_REQUEST_TARGET_BRANCH_NAME=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
tmp_files=$(git diff --name-only ${CI_COMMIT_SHA} origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME})
tmp_files=$(git diff --name-only ${CI_COMMIT_SHA} ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME})
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")
Expand Down

0 comments on commit d6a9c42

Please sign in to comment.