Skip to content

Credentials are not properly configured and/or propogated #7

Description

@shivarammysore

I have an Organization setting for my repos. I am building go binary for one with another private module in a different repo. The token supplied has organization setting.

With the below action the repo itself is not found. Am I missing any settings?

    - uses: fusion-engineering/setup-git-credentials@v2
      with:
        credentials: ${{ secrets.SNMIX_REPO_ACCESS_TOKEN }}
    - run: cat ~/.gitconfig

Output when running the action:

Run fusion-engineering/setup-git-credentials@v2
  with:
    credentials: ***
  env:
    GOROOT: /opt/hostedtoolcache/go/1.15.5/x64
git config --global credential.helper store
git config --global url.https://github.com/.insteadOf ssh://git@github.com/
git config --global --add url.https://github.com/.insteadOf git@github.com:

Run cat ~/.gitconfig
[credential]
	helper = store
[url "https://github.com/"]
	insteadOf = ssh://git@github.com/
	insteadOf = git@github.com:

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