mirror of
https://github.com/friendica/friendica
synced 2024-12-22 12:40:15 +00:00
REUSE use reuse lint in ci
This commit is contained in:
parent
2e1a419b7f
commit
dcc6c7d6e9
1 changed files with 5 additions and 11 deletions
|
@ -2,14 +2,8 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
#steps:
|
steps:
|
||||||
# check:
|
check:
|
||||||
# image: friendicaci/php-cs
|
image: fsfe/reuse:latest
|
||||||
# commands:
|
commands:
|
||||||
# - if [ ! -z "$${CI_COMMIT_PULL_REQUEST}" ]; then
|
- reuse lint
|
||||||
# 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)";
|
|
||||||
# else
|
|
||||||
# export CHANGED_FILES="$(git diff --name-status ${CI_COMMIT_SHA} | grep -i '\.php$' | cut -f2)";
|
|
||||||
# fi
|
|
||||||
# - /check-license.sh
|
|
||||||
|
|
Loading…
Reference in a new issue