Skip to content

[github actions] could not read Username for 'https://github.com': No such device or address #141980

Closed
@XilaiZhang

Description

@XilaiZhang

For cherry pick workflow, we repeatedly hit this error when trying to push the change from local to github. example failed workflow

the error message is could not read Username for 'https://github.com': No such device or address with an exit code of 128. and the token listed in environment variable is empty

Things we have tried:

  1. using token embedded url for push [github actions] Fix token issue on actions/checkout package #141652. failed workflow
  2. remove usage of peter-evans/create-pull-request [github actions] refactor and fix cherry pick actions #140499

currently looking at using ssh keys in github actions and doing more experiments and testings

It's confusing why automatically triggered workflows never hit this problem, and it only happens on workflows triggered by pull requests.

It's confusing why automatically triggered workflows never hit this problem, and it only happens on workflows triggered by pull requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions