mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
Revert "gitlab-ci: remove git fetch before_script"
Decided it's better to do it in one place than repeating the logic on multiple places. This reverts commit fb5b97d0912f687b7e83836bfa52359d81c0ef76.
This commit is contained in:
parent
f5e1b468d9
commit
29b127feb4
@ -6,6 +6,13 @@ variables:
|
||||
GIT_STRATEGY: fetch
|
||||
GIT_DEPTH: "0"
|
||||
|
||||
default:
|
||||
# Make sure master points to the correct upstream commit
|
||||
before_script:
|
||||
- >
|
||||
git fetch $CI_MERGE_REQUEST_PROJECT_URL
|
||||
+refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME:refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
|
||||
|
||||
lint:
|
||||
stage: lint
|
||||
image: alpinelinux/apkbuild-lint-tools:latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user