Skip to content

Commit

Permalink
chore: make github linter action not run on deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Jul 29, 2024
1 parent b0e02df commit cb380cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
echo "Successfully configured cmake"
files=$(curl -s \
"https://api.github.com/repos/${{ github.repository }}/pulls/${PR_NUMBER}/files" \
| jq -r '.[].filename')
| jq -r '.[] | select(.status != "removed") | .filename')
echo "Changed files of this PR:"
echo "$files"
IFS=$'\n'
Expand Down

0 comments on commit cb380cf

Please sign in to comment.