diff --git a/.woodpecker/.phpunit.yml b/.woodpecker/.phpunit.yml index 9207e16b76..c1a81a2fd1 100644 --- a/.woodpecker/.phpunit.yml +++ b/.woodpecker/.phpunit.yml @@ -26,7 +26,19 @@ when: exclude: [ stable ] event: [ pull_request, push ] +skip_clone: true + steps: + clone: + image: alpine/git + commands: + - git config --global user.email "no-reply@friendi.ca" + - git config --global user.name "Friendica" + - git config --global --add safe.directory $CI_WORKSPACE + - git clone $CI_REPO_CLONE_URL . + - git checkout $CI_COMMIT_BRANCH + - git fetch origin $CI_COMMIT_REF + - git merge $CI_COMMIT_SHA php-lint: image: php:${PHP_MAJOR_VERSION} commands: