An action fails during the checkout action with the following error:
Determining the default branch
Retrieving the default branch name
Not Found
Waiting 12 seconds before trying again
Retrieving the default branch name
Not Found
Waiting 13 seconds before trying again
Retrieving the default branch name
##[error]Not Found
The checkout action in a workflow is configured as follows:
steps:
# checkout podspec repository
- uses: actions/checkout@v2
with:
repository: Bluedot-Innovation/PointSDK-iOS.git
token: ${{ secrets.REPO_ACCESS_TOKEN }}
However, the same repository with the same configuration has passed an action 21 Apr 2020.
I had the same error message, and my issue was that the token holder didn't have read access to the repository I was attempting to access. I was able to fix by granting that user read access. You're trying to access a public repository, so it's not the same issue.
It looks like you just need to remove the .git from the end of your repository name. It should read repository: Bluedot-Innovation/PointSDK-iOS.
Yes, that works! Thank you.
Most helpful comment
I had the same error message, and my issue was that the token holder didn't have read access to the repository I was attempting to access. I was able to fix by granting that user read access. You're trying to access a public repository, so it's not the same issue.
It looks like you just need to remove the
.gitfrom the end of your repository name. It should readrepository: Bluedot-Innovation/PointSDK-iOS.