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

Build Documentation Test Fails Due to "Bad Credentials" Error #7305

Open
ruidazeng opened this issue Dec 3, 2024 · 2 comments
Open

Build Documentation Test Fails Due to "Bad Credentials" Error #7305

ruidazeng opened this issue Dec 3, 2024 · 2 comments

Comments

@ruidazeng
Copy link
Contributor

Describe the bug

The Build documentation / build / build_main_documentation (push) job is consistently failing during the "Syncing repository" step. The error occurs when attempting to determine the default branch name, resulting in "Bad credentials" errors.

Steps to reproduce the bug

  1. Trigger the build_main_documentation job.
  2. Observe the logs during the "Syncing repository" step.

Expected behavior

The workflow should be able to retrieve the default branch name without encountering credential issues.

Environment info

Syncing repository: huggingface/notebooks
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/00e62748-9940-4a4f-bbbc-eb2cda6d7ed6' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/datasets/datasets/notebooks
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Determining the default branch
  Retrieving the default branch name
  Bad credentials - https://docs.github.com/rest
  Waiting 20 seconds before trying again
  Retrieving the default branch name
  Bad credentials - https://docs.github.com/rest
  Waiting 19 seconds before trying again
  Retrieving the default branch name
  Error: Bad credentials - https://docs.github.com/rest
@NedxLab
Copy link

NedxLab commented Jan 8, 2025

how were you able to fix this please?

@ruidazeng
Copy link
Contributor Author

how were you able to fix this please?

I was not able to fix this.

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