Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not read Username for 'https://github.com/' #31

Closed
samputer opened this issue Jul 12, 2022 · 2 comments
Closed

could not read Username for 'https://github.com/' #31

samputer opened this issue Jul 12, 2022 · 2 comments

Comments

@samputer
Copy link

Hi,

Thanks for a great action, this will be very useful!

I'm running into a bit of an issue however, and getting the following error in Github Actions.

Run jpb06/jest-badges-action@latest
🔶 Generating badges from ./coverage/coverage-summary.json
🔶 Pushing badges to the repo
/usr/bin/git config --global user.name samputer
/usr/bin/git config --global user.email samputer@users.noreply.github.com
/usr/bin/git add ./badges
/usr/bin/git commit -m Updating coverage badges
[main bc226fc] Updating coverage badges
 5 files changed, 5 insertions(+)
 create mode [10](https://github.com/Energy-Mutual/svc_shared_tenant_registration/runs/7299230446?check_suite_focus=true#step:8:11)0644 badges/coverage-branches.svg
 create mode 100644 badges/coverage-functions.svg
 create mode 100644 badges/coverage-jest coverage.svg
 create mode 100644 badges/coverage-lines.svg
 create mode 100644 badges/coverage-statements.svg
/usr/bin/git push
fatal: could not read Username for 'https://github.com/': No such device or address

My workflow is configured as expected:

- name: Generating coverage badges
        uses: jpb06/jest-badges-action@latest
        with:
          branches: main

Thanks,
Sam

@jpb06
Copy link
Owner

jpb06 commented Jul 15, 2022

Hello!
Thanks for reporting this.

This looks like some permissions issue. I tried reproducing it on a private repo but it works as intended.

Would you have some branch protection rules enforced on main, by any chance?

@jpb06
Copy link
Owner

jpb06 commented Aug 13, 2022

Could you provide me with a repro if the issue is persisting, please?

@jpb06 jpb06 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants