Add license check
This commit is contained in:
parent
2d326c8a27
commit
3e0bcf7acd
3 changed files with 45 additions and 0 deletions
6
.woodpecker/.license_check.yml
Normal file
6
.woodpecker/.license_check.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue