Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Add credentials via environment variable.#889

Closed
akshaal wants to merge 2 commits intodependabot:mainfrom
akshaal:feature/configurable-credentials
Closed

Add credentials via environment variable.#889
akshaal wants to merge 2 commits intodependabot:mainfrom
akshaal:feature/configurable-credentials

Conversation

@akshaal
Copy link
Copy Markdown

@akshaal akshaal commented Jan 18, 2023

This PR enables the ability to pass additional credentials to Dependabot through the generic-update-script.rb. This is needed to be able to use the script in a self-hosted environment with maven, where Dependabot needs to access one or more private repositories without having to specify the repositories in the pom.xml file of each maven project within the environment. As the 'credentials' parameter is not specific to the maven parser/fetcher, it will likely be useful for other package managers as well.

@akshaal akshaal force-pushed the feature/configurable-credentials branch from 465a17c to 315da90 Compare February 8, 2023 16:07
@jeffwidman
Copy link
Copy Markdown
Member

We've updated this repo's README with a deprecation note which points to a new example repo we setup to demonstrate how to self-host Dependabot using the Dependabot CLI. As a result, we are archiving this repo.

While the new example repo runs on GitHub Actions, nothing in the Dependabot bits are specific to GitHub, so it should be straightforward to port it to any other CI system.

@jeffwidman jeffwidman closed this May 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants