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
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ jobs:
set -x
git init
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 ./
test -z $(git diff --name-only | tee /dev/stderr)
- name: Setup Cluster