-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Checking out 'head_ref' doesn't work anymore #275
Comments
Can you try setting the following env vars so fetch will print more info: GITHUB_TRACE=1 For example: jobs:
foo:
steps:
- uses: actions/checkout@v2
env:
GIT_TRACE: 1
GIT_CURL_VERBOSE: 1 |
Hi @ericsciple, thanks for the answer and sorry for the delay. Here are the error logs when adding the env vars you mentionned.
|
Actually removing the protection on master branch did the trick. For the moment I don't know why. I'll open an issue or reopen that one if necessary. If I have any other info I'll let you know |
remove `head_ref` reference from actions/checkout to resolve error (see actions/checkout#275)
Hey @Smana sorry for bothering.
This fails with: I removed the branch protection on main, but this does not change anything. Just got it working! 🎉 |
Hi everyone,
I was using the following configuration to checkout the proper branch in order to use it with another action 'git-auto-commit'.
Since a few days, this doesn't work anymore. I got the following errors:
This is a public repository for tests purposes so please have a look here : https://github.com/Smana/gh-actions-gitops/actions
Let me know if you need further details.
Thanks
The text was updated successfully, but these errors were encountered: