Could not find a default branch to fall back on

I’m getting the following error when running official action on GithubActions:
“Could not find a default branch to fall back on”

  • ALM: Github
  • CI system used: Github Actions
  • Scanner command used: Official GH Action
  • Languages of the repository: c#
  • Error observed: Could not find a default branch to fall back on

Hi @adanlobato-scopely,

This could be related to a misconfiguration of the project key or organization. Could you check if the project key you provided matches the project key on SonarCloud?

If the key is correctly configured could you share the log output of the GitHub action?