Skip to content

Commit

Permalink
fix diff command
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahAlidoost committed Aug 15, 2024
1 parent caa8986 commit 62bb9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name: Get changed files folder # for now, we only lint the changed files
id: files
run: |
echo "files=$(git diff --name-only --diff-filter=d $GITHUB_BASE_REF...HEAD)" >> $GITHUB_ENV
echo "files=$(git diff --name-only --diff-filter=d origin/$GITHUB_BASE_REF...origin/$GITHUB_HEAD_REF)" >> $GITHUB_ENV
- name: Check source code style against standards
run: ruff check $(echo ${{ env.files }} | tr ' ' '\n')

0 comments on commit 62bb9f8

Please sign in to comment.