Skip to content

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

Description

@stytchiz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions