Overriding credentials in Github Actions #1559
Unanswered
jbnjohnathan
asked this question in
Q&A
Replies: 1 comment
|
If I remember correctly, GitPython doesn't involve itself with authentication at all, but invokes the I can imagine that GitPython alters the runtime environment variables of the spawned process, and that this action affects what happens in regards to authentication, but it's something you can validate by looking at the code of Once it's a bit clearer that GitPython should change to accommodate this case, we can create an issue from this conversation. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am troubleshooting an application (https://github.com/python-semantic-release/python-semantic-release) that uses gitpython, and trying to figure out if the issue is in gitpython or elsewhere.
When running this application as a GitHub action the workflow is very simple
It uses the methods
git.push(server, branch)whereserveris in the form off"https://{user}:{token}@{domain}/{owner}/{name}.git"But I have noticed that gitpython seem to cntinue to use the credentials that were supplied when the
actions/checkoutaction run.All reactions