CI: Make git config get infallible in justfile too
Some checks are pending
/ verify (push) Waiting to run
Some checks are pending
/ verify (push) Waiting to run
This commit is contained in:
parent
1abbe08c6f
commit
bb62f1ae17
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
echo "git config add"
|
||||
git config --add safe.directory "$PWD"
|
||||
echo "git config get"
|
||||
git config --global safe.directory || true
|
||||
git config --global safe.directory 2>&1 || true
|
||||
echo "ls -la"
|
||||
ls -la
|
||||
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ choose:
|
|||
ci recipe:
|
||||
id -u ci >/dev/null 2>&1 || useradd -m ci
|
||||
chown -R ci:ci .
|
||||
git config --global safe.directory
|
||||
git config --global safe.directory 2>&1 || true
|
||||
ls -la
|
||||
su ci -c "just {{ recipe }}"
|
||||
su ci -c "git config --global safe.directory"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue