We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 450339e commit 78a5ba2Copy full SHA for 78a5ba2
.github/workflows/whitespace.yml
@@ -49,13 +49,13 @@ jobs:
49
- name: git log --check
50
id: check_out
51
run: |
52
- log=
+ log=
53
base_commit=$(git rev-parse FETCH_HEAD)
54
while IFS= read -r line; do
55
log="${log}\n${line}"
56
if [[ $line =~ ^-[^-] ]]; then
57
file_line=$(echo "$line" | cut -c 2-)
58
- echo "::error file=${file_line%%:*},line=${file_line#*:}::Whitespace issue: ${file_line}"
+ echo "Whitespace issue: ${file_line}"
59
fi
60
done <<< "$(git diff --check $base_commit ${{ github.sha }} | grep '^-[^-]')"
61
0 commit comments