Skip to content

Private Repo access #4

@dtracers

Description

@dtracers

These actions will not currently work if a dependency happens to be a private repo.

While there are normal ways to mitigate this like having this as a command line:

        run: |
          git config --global url."https://${{ secrets.GH_ACCESS_USERNAME }}:${{ secrets.GH_PRIVATE_REPO_ACCESS }}@github.com".insteadOf "[email protected]" &
          git config --global url."https://${{ secrets.GH_ACCESS_USERNAME }}:${{ secrets.GH_PRIVATE_REPO_ACCESS }}@github.com".insteadOf "https://github.com" |
          go env -w GOPRIVATE="github.com/PRIVATE_REPO"

These actions do not respect if these steps are run ahead of time.

Is there a way to have it use to the local settings of the action vm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions