Disable detached head advice
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ runs:
|
||||
echo 'Type ${{ gitea.ref_type }}'
|
||||
|
||||
cd ${{ gitea.workspace }}
|
||||
git config set advice.detachedHead false
|
||||
git config set --global advice.detachedHead false
|
||||
if [ -z "${{ gitea.ref_name }}" ]; then
|
||||
echo "Initing, fetching and checking out"
|
||||
git init -b main
|
||||
|
||||
Reference in New Issue
Block a user