From ad24fe40d3c565347bb0882e7ee47b99e3c6171f Mon Sep 17 00:00:00 2001 From: Akshun Aggarwal Date: Fri, 24 Oct 2025 18:30:20 +0000 Subject: [PATCH] Update .gitea/workflows/renovate.yml --- .gitea/workflows/renovate.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index cb7f072..e0e4d45 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -15,10 +15,20 @@ jobs: - name: Git Setup run: | mkdir -p ~/.ssh - echo 'Host gitea.akshun-lab.cc' >> ~/.ssh/config - echo ' User git' >> ~/.ssh/config - echo ' Port 222' >> ~/.ssh/config - cat ~/.ssh/config + { + echo "Host gitea.akshun-lab.cc" + echo " HostName gitea.akshun-lab.cc" + echo " User git" + echo " Port 222" + echo " StrictHostKeyChecking yes" + } >> ~/.ssh/config + chmod 600 ~/.ssh/config + + - name: SSH known_hosts setup + run: | + mkdir -p ~/.ssh + ssh-keyscan -p 222 gitea.akshun-lab.cc >> ~/.ssh/known_hosts + chmod 600 ~/.ssh/known_hosts - name: Checkout repository uses: actions/checkout@v5