Fix GitHub action workflow for license check

CI workflows are failing the license check.  This change allows empty git commits in the license check.
This commit is contained in:
djmailhot 2020-10-13 12:40:31 -07:00 committed by GitHub
parent 65b5da1a9b
commit 0d450fb62d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ jobs:
set -x set -x
git init git init
git add --all git add --all
git -c user.name="CI Bot" -c user.email="<>" commit -m "initial state" git -c user.name="CI Bot" -c user.email="<>" commit -m "initial state" --allow-empty
addlicense ./ addlicense ./
test -z $(git diff --name-only | tee /dev/stderr) test -z $(git diff --name-only | tee /dev/stderr)
- name: Setup Cluster - name: Setup Cluster