coment out license check for now

This commit is contained in:
Tobias Diekershoff 2024-08-24 15:54:55 +02:00
parent cfa27f62be
commit 2e1a419b7f

View file

@ -2,14 +2,14 @@
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
steps: #steps:
check: # check:
image: friendicaci/php-cs # image: friendicaci/php-cs
commands: # commands:
- if [ ! -z "$${CI_COMMIT_PULL_REQUEST}" ]; then # - if [ ! -z "$${CI_COMMIT_PULL_REQUEST}" ]; then
git fetch --no-tags origin ${CI_COMMIT_TARGET_BRANCH}; # git fetch --no-tags origin ${CI_COMMIT_TARGET_BRANCH};
export CHANGED_FILES="$(git diff --name-status $(git merge-base FETCH_HEAD origin/${CI_COMMIT_TARGET_BRANCH})..${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)"; # export CHANGED_FILES="$(git diff --name-status $(git merge-base FETCH_HEAD origin/${CI_COMMIT_TARGET_BRANCH})..${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)";
else # else
export CHANGED_FILES="$(git diff --name-status ${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)"; # export CHANGED_FILES="$(git diff --name-status ${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)";
fi # fi
- /check-license.sh # - /check-license.sh