Skip to content

MarcelRaschke/dependabot-script

 
 

Repository files navigation

Dependabot Update Script Dependabot Status

This repo contains two scripts that demonstrates Dependabot Core. It is intended to give you a feel for how Dependabot Core works so that you can use it in your own project.

If you're looking for a hosted, feature-rich dependency updater then you probably want Dependabot itself.

Setup and usage

  • bundle install
  • Optional step for some langauges:
    • JS (Yarn): cd "$(bundle show dependabot-core)/helpers/yarn" && yarn install && cd -
    • JS (npm): cd "$(bundle show dependabot-core)/helpers/npm" && yarn install && cd -
    • Python: cd "$(bundle show dependabot-core)/helpers/python" && pyenv exec pip install -r requirements.txt && pyenv local 2.7.15 && pyenv exec pip install -r requirements.txt && pyenv local --unset && cd -
    • PHP: cd "$(bundle show dependabot-core)/helpers/php" && composer install && cd -
    • Elixir: cd "$(bundle show dependabot-core)/helpers/elixir" && mix deps.get && cd -
  • bundle exec irb
  • Edit the variables at the top of the script you're using, or set the corresponding environment variables.
  • Copy and paste the script into the Ruby session to see how Dependabot works

If you run into any trouble with the above please create an issue!

The scripts

About

A simple script that demonstrates how to use Dependabot Core

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%