Overriding credentials in Github Actions #1559
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. |
Beta Was this translation helpful? Give feedback.
-
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)
whereserver
is 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/checkout
action run.Beta Was this translation helpful? Give feedback.
All reactions