From 1b647f844ad4602f5ac70021d5d9c6844c19b356 Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 27 Feb 2026 09:41:51 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20clone=20auth=20=E2=80=94=20move=20n?= =?UTF-8?q?etrc=20creds=20from=20environment=20to=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit woodpeckerci/plugin-git reads credentials via PLUGIN_NETRC_* env vars (set from settings:), not CI_NETRC_* (set from environment:). The previous fix in 57deaaa put the secret under environment:, so the plugin never populated .netrc and git fell back to prompting, which fails with GIT_TERMINAL_PROMPT=0. Fix both ci.yml and e2e.yml. Co-Authored-By: Claude Sonnet 4.6 --- .woodpecker/ci.yml | 8 +++----- .woodpecker/e2e.yml | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index c617056..cbd6e3b 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -10,11 +10,9 @@ clone: image: woodpeckerci/plugin-git settings: depth: 50 - environment: - GIT_TERMINAL_PROMPT: "0" - CI_NETRC_MACHINE: codeberg.org - CI_NETRC_USERNAME: johba - CI_NETRC_PASSWORD: + netrc_machine: codeberg.org + netrc_username: johba + netrc_password: from_secret: codeberg_token steps: diff --git a/.woodpecker/e2e.yml b/.woodpecker/e2e.yml index 4e598ea..3cce421 100644 --- a/.woodpecker/e2e.yml +++ b/.woodpecker/e2e.yml @@ -13,11 +13,9 @@ clone: image: woodpeckerci/plugin-git settings: depth: 50 - environment: - GIT_TERMINAL_PROMPT: "0" - CI_NETRC_MACHINE: codeberg.org - CI_NETRC_USERNAME: johba - CI_NETRC_PASSWORD: + netrc_machine: codeberg.org + netrc_username: johba + netrc_password: from_secret: codeberg_token # All background services - services get proper DNS resolution in Woodpecker