Skip to content

Fix stream_client_stats bug #1142

Fix stream_client_stats bug

Fix stream_client_stats bug #1142

Workflow file for this run

name: Space Check
on:
pull_request:
branches: [ OVIS-4 ]
jobs:
space_check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: |
set -e
test -n "${GITHUB_BASE_REF}"
git fetch origin "${GITHUB_BASE_REF}:refs/remotes/origin/${GITHUB_BASE_REF}"
echo "=== Creating /tmp/diff ==="
git diff "origin/${GITHUB_BASE_REF}" > /tmp/diff
echo "=== Checking trailing spaces in /tmp/diff ==="
if grep '^+.*[[:space:]]$' /tmp/diff ; then
echo "---------------------------------------"
echo "Pull request contains trailing spaces"
exit -1
else
echo "---------------------------------------"
echo "OK."
exit 0
fi