diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index b84db75..daf876f 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -39,7 +39,8 @@ jobs: echo "Adding private key." ssh-add - <<< "${{ secrets.AUTO_PR_DEPLOY_KEY }}" cat .git/config - perl -0777 -i -pe "s@url = https://(.*)@url = ssh://git@\${1}@" + perl -0777 -i -pe "s@url = (.*)@url = ssh://\${1}@;" .git/config + cat .git/config - name: Create Pull Request if necessary uses: peter-evans/create-pull-request@v6