We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd8755 commit de5eabdCopy full SHA for de5eabd
.github/workflows/integration.yaml
@@ -16,7 +16,7 @@ jobs:
16
files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }})
17
success=true
18
for file in $files; do
19
- if [ "$(tail -c 1 $file | wc -l)" -eq 0 ]; then
+ if [ -s "$file" ] && [ "$(tail -c 1 $file | wc -l)" -eq 0 ]; then
20
echo "- $file" >> $GITHUB_STEP_SUMMARY
21
success=false
22
fi
0 commit comments