Skip to content

Commit

Permalink
ci: handle no files changed (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 authored Jan 6, 2025
1 parent ce6340e commit ff55cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: >
# Get the diff of changed files
git diff --name-only origin/${{ github.base_ref }} | grep -E '\.(cpp|h|cu)$' > changed_files.txt
git diff --name-only origin/${{ github.base_ref }} | grep -E '\.(cpp|h|cu)$' > changed_files.txt || true
# Check each changed file
Expand Down

0 comments on commit ff55cc4

Please sign in to comment.