From e7a0717aff38df141a51b135ea6933075b6d40b9 Mon Sep 17 00:00:00 2001 From: GMaysa Date: Thu, 2 Jul 2026 18:07:34 +0800 Subject: [PATCH] ci: update SSH configuration for Gitea checkout step to improve security and fetch full history --- .gitea/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 485e136..fee801b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,14 +14,14 @@ jobs: ACTIONS_STEP_DEBUG: true timeout-minutes: 45 steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 + - name: Setup SSH config for Gitea + run: | + echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config - name: Checkout repository uses: actions/checkout@v4 with: + fetch-depth: 0 ssh-key: ${{ secrets.TEKTON_SSH_KEY }} ssh-strict: false