abcxyz / abc

Apache License 2.0
12 stars 3 forks source link

abc CLI can not get git credentials when running in an Actions workflow #641

Open stytchiz opened 1 month ago

stytchiz commented 1 month ago

TL;DR

https://github.com/theteamatx/x-refinery-org/actions/runs/10708138099/job/29689738327?pr=1110

Run ./scripts/check-manifests.sh

abc version 0.10.0 is available at [https://github.com/abcxyz/abc]. Use ABC_IGNORE_VERSIONS="0.10.0" (or "all") to ignore.
when upgrading the manifest at /home/runner/work/x-refinery-org/x-refinery-org/.abc/manifest_github.com_abcxyz_packer-template_abc.templates_packer-project_2024-09-04T19:15:25.670581433Z.lock.yaml:
failed downloading template: Clone() of https://github.com/abcxyz/packer-template.git: exec of [git clone -- https://github.com/abcxyz/packer-template.git /tmp/git-clone-782347458] failed: error was "exit status 128", context error was "%!w(<nil>)"\nstdout: \nstderr: Cloning into '/tmp/git-clone-782347458'...
fatal: could not read Username for 'https://github.com': No such device or address

Expected behavior

No response

Observed behavior

No response

Environment Details

To reproduce:

* Re-render/upgrade abc template
* Check in new manifest
* Run abc in a GH Actions workflow

Additional information

No response