ci: update SSH configuration for Gitea checkout step to improve security and fetch full history
CI / Export Windows (push) Failing after 38s
CI / Export Linux (push) Failing after 38s
CI / Export Android (push) Failing after 39s
Test Suite / Unit Tests (GUT) (push) Failing after 40s
Test Suite / Code Style Check (push) Failing after 32s
Test Suite / Integration Tests (push) Failing after 36s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 37s

This commit is contained in:
2026-07-02 18:07:34 +08:00
parent 754fb0d0a3
commit e7a0717aff
+4 -4
View File
@@ -14,14 +14,14 @@ jobs:
ACTIONS_STEP_DEBUG: true ACTIONS_STEP_DEBUG: true
timeout-minutes: 45 timeout-minutes: 45
steps: steps:
- name: Checkout repository - name: Setup SSH config for Gitea
uses: actions/checkout@v4 run: |
with: echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
fetch-depth: 0
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0
ssh-key: ${{ secrets.TEKTON_SSH_KEY }} ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
ssh-strict: false ssh-strict: false