kopia lustrzana https://github.com/friendica/friendica
[CI] avoid safe.directory issues when cloning
rodzic
3121a256e2
commit
c6fbacd3e8
.woodpecker
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue