Skip to content

add trivy scanner github action to report vulnarabiliites. #669

add trivy scanner github action to report vulnarabiliites.

add trivy scanner github action to report vulnarabiliites. #669

Workflow file for this run

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