Tweak GHA

This commit is contained in:
Nicolas Grekas 2021-06-27 18:37:09 +02:00
parent c6193bf85d
commit bd412f2616
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ jobs:
git config --global user.email "" git config --global user.email ""
git config --global user.name "Symfony" git config --global user.name "Symfony"
git config --global init.defaultBranch main git config --global init.defaultBranch main
git config --global advice.detachedHead false
COMPOSER_HOME="$(composer config home)" COMPOSER_HOME="$(composer config home)"
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json" ([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"