Add license check

This commit is contained in:
Philipp
2022-01-06 21:54:40 +01:00
parent 2d326c8a27
commit 3e0bcf7acd
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