From 886911149f5309d6a95093c2e0ecdf0b3470240d Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sun, 19 Apr 2026 19:46:11 +0000 Subject: [PATCH] ci: add unshallow fetch and suppress ssh-keyscan stderr in mirror step --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 57b216d..966aca4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -615,8 +615,9 @@ steps: - mkdir -p ~/.ssh - echo "$GITHUB_SSH_KEY" > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - - ssh-keyscan github.com >> ~/.ssh/known_hosts + - ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null - git remote add github git@github.com:celesrenata/stonks-oracle.git || git remote set-url github git@github.com:celesrenata/stonks-oracle.git + - git fetch --unshallow origin || true - git push github main --force - git push github --tags --force when: