gh-actions-cache: It does not work for private repositories

Describe the bug

When running gh actions-cache list under the root of a private repo I get:

Error: unable to determine current repository, none of the git remotes configured for this repository point to a known GitHub host

The origin is set as git@github.com:<user>/<repo>.git for fetch and push

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

I’m seeing this same error in gh version 2.30.0, installed the extension just now. The workaround that worked for @gugaiz above did not work for me.