Skip to content
New issue

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

fix python-index not added to credentials-metadata #215

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

jakecoffman
Copy link
Member

fix #196

When using a job definition containing credentials for a python index, the Dependabot CLI was not correctly updating the credentials metadata which is passed to the Updater.

To fix this I flipped the logic to exclude token and password during the metadata population routine, which should also fix any others that we might have missed or any that are added in the future.

@jakecoffman jakecoffman requested a review from a team as a code owner January 2, 2024 13:39
@jakecoffman jakecoffman changed the title fix python-index not added to metadata fix python-index not added to credentials-metadata Jan 2, 2024
@jakecoffman jakecoffman added this pull request to the merge queue Jan 2, 2024
Merged via the queue into main with commit f8419d2 Jan 2, 2024
60 checks passed
@jakecoffman jakecoffman deleted the jakecoffman/add-python-index-metadata branch January 2, 2024 13:58
entry := make(map[string]any)
for k, v := range credential {
// Updater does not get credentials.
if k != "token" && k != "password" {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authentication failure in running dependabot update on private-repo having pip as package-manager
3 participants