Skip to content

Commit

Permalink
workflow: add NBSP validation
Browse files Browse the repository at this point in the history
This removes the NBSP test from Travis CI.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b0980b2)
  • Loading branch information
dsavineau committed Nov 24, 2020
1 parent f371876 commit 6ad2fe2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/nbsp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: nbsp
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2

- name: check NBSP characters
run: if [[ -n $(grep --exclude-dir=.git -I -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi

0 comments on commit 6ad2fe2

Please sign in to comment.