We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on a runner where ~/.git-credentials does not exist and git config --global credential.helper store is not manually run, this command
~/.git-credentials
git config --global credential.helper store
jx promote -b --all --timeout 1h --no-poll --add-changelog ../changelog.md \ --git-user "my-botzzz" \ --git-token $GITHUB_TOKEN
fails and prompts for a username:
about to run: git clone https://github.com/my-org/gitops-dev /tmp/jx-git-2818598956 in dir /tmp Username for 'https://github.com':
i would expect that jx promote would respect some combination of cli flags and/or env vars:
jx promote
export GIT_USER=x-access-token export GIT_USERNAME=x-access-token export GITHUB_USER=x-access-token export GITHUB_USERNAME=x-access-token export GH_USERNAME=x-access-token export GITHUB_TOKEN=xyz export GIT_TOKEN=xyz export GH_TOKEN=xyz
but none of them work
as a side note, i also tried creating ~/git/credentials with no success. based on the logic in jx-helpers, i would also expect this to work
~/git/credentials
The text was updated successfully, but these errors were encountered:
No branches or pull requests
on a runner where
~/.git-credentials
does not exist andgit config --global credential.helper store
is not manually run, this commandfails and prompts for a username:
i would expect that
jx promote
would respect some combination of cli flags and/or env vars:but none of them work
as a side note, i also tried creating
~/git/credentials
with no success. based on the logic in jx-helpers, i would also expect this to workThe text was updated successfully, but these errors were encountered: