Add license check

This commit is contained in:
Philipp Holzer 2022-01-06 21:54:40 +01:00
commit 3e0bcf7acd
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,6 @@
pipeline:
check:
image: friendicaci/php-cs
commands:
- export CHANGED_FILES="$(git diff --name-status ${CI_PREV_COMMIT_SHA}..${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)"
- /check-license.sh