I have a iOS project which needs Carthage for dependency management. To avoid Github rate limit issues, I generated a personal access token from Github. The token has no selected scope of access(like access commit status), since I did not find any document stating that the token need any of the scopes.I store the access token in the secret page as GITHUB_ACCESS_TOKEN
When I started the workflow, I saw errors about “Bad credentials” in step “Carthage”, e.g:
** Skipped downloading AFNetworking.framework binary due to the error:**
** “Bad credentials”**
Any idea how to fix this? Do I have to grant any of those scope of access when creating the access token?
To verify if Github provided me a valid token, I created a new access token on Github, tried to use it in my Macbook, and it worked fine. It could solve the API rate limit issue of Carthage on my Macbook. However, I used the same token for the step “Carthage” and it failed.