title: Cloning a private repo in Github Actions
body: <p>I am trying to clone another private repo in Github actions. I have set <code>SECRET_USER</code> and <code>SECRET_PASSWORD</code> in the secrets of the repo I'm running the actions on. In actions I'm running the command</p>
  
  <pre><code>git clone https://$SECRET_USER:$SECRET_PASSWORD@github.com/other-organization/other-repo.git
  </code></pre>
  
  <p>but getting the error</p>
  
  <pre><code>Cloning into 'other-repo'...
  remote: Repository not found.
  fatal: Authentication failed for 'https://github.com/other-organization/other-repo.git/'
  ##[error]Process completed with exit code 128.
  </code></pre>
  
  <p>in Github Actions although I've verified that the user can access <code>https://github.com/other-organization/other-repo</code> (which is obviously not the real URL of the internal repo).</p>