checkout
checkout copied to clipboard
Default branch name Not Found
We are using GitHub Actions for a pull request workflow , and We are getting below error in the PR-Process set up . Can someone help on this
Hi @DeeptimayeeSethi I've had this same problem, apparently in my case it was defaulting to "master" as branch name. I've solved it passing "main" (my actual default branch) in the "ref" input
I get this for any action run that's not main. Shouldn't the checkout action know what branch to pull and avoid me having to specify ref?