mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
ci: Add an additional git config to avoid permissions warnings
And tidy up the existing one for consistency. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
d96695fef9
commit
fd7396ee29
@ -61,7 +61,7 @@ variables:
|
||||
extends: .only-default
|
||||
before_script:
|
||||
- rm -rf subprojects/gvdb
|
||||
- git config --global --add safe.directory $(pwd)
|
||||
- git config --global --add safe.directory "${PWD}"
|
||||
- git submodule update --init --depth 1
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: "none"
|
||||
@ -82,6 +82,7 @@ sh-and-py-check:
|
||||
stage: style-check
|
||||
allow_failure: false
|
||||
script:
|
||||
- git config --global --add safe.directory "${PWD}"
|
||||
- .gitlab-ci/run-shellcheck.sh
|
||||
- .gitlab-ci/run-black.sh
|
||||
- .gitlab-ci/run-flake8.sh
|
||||
|
Loading…
Reference in New Issue
Block a user