title: How do I get a Yocto build to access a private GitHub repo when using Actions?
body: <p>In my workflow I can clone the repos and submodules fine and the build starts but when a recipe that pulls from our GitHub private repos run, I get an error (all out repos are peers to one another in the same Organization).  Note that the recipes that clone from the Internet are working fine and it builds fine when I clone and build locally.  It's just when I use GitHub Actions I get the following error.</p>
  <pre><code>Cloning into bare repository '/home/runner/yocto_cache/downloads/git2/github.com.xxxxx.yyyyy.git'...
  fatal: could not read Username for 'https://github.com': No such device or address
  </code></pre>
  <p>Recipe is like...</p>
  <pre><code>SRC_URI = &quot;git://github.com/xxxxx/yyyyy.git;protocol=https;nobranch=1;subpath=&lt;folder&gt;/&lt;folder&gt;;rev=${BUILD_REV}&quot;
  </code></pre>
  <p>Workflow</p>
  <pre><code>  build:
      runs-on: ubuntu-latest
      steps:  
      - uses: actions/checkout@v2
        with:
          token: ${{ secrets.REPO_ACCESS }}
          submodules: recursive
      
      - name: Configure Git
        run: |
          git config --unset-all &quot;http.https://github.com/.extraheader&quot;
          git config --add &quot;http.https://github.com/.extraheader&quot; &quot;AUTHORIZATION: \ 
              Basic $(base64 &lt;&lt;&lt; ${{ secrets.REPO_ACCESS }}:x-oauth-basic)&quot;
                 
      - name: Running on VM
        env:
          CC: gcc-9
        run: |
          sudo apt-get install -y diffstat
          gcc --version
          ./yocto-setup.sh
          source ./poky/oe-init-build-env
          bitbake image
  </code></pre>
  <p>I'm having issues finding answers to this specific failure and wondering if someone out there has run into something similar and can provide some assistance.</p>