Dependencies.io is a product of Dropseed
  • Python
  • Javascript
  • PHP
  • Git
  • Docker
  • Ruby coming soon
  • Java coming soon
  • Go coming soon
  • Rust coming soon
  • iOS coming soon
  • Android coming soon
  • .NET coming soon

Hooks

Hooks are part of what makes dependencies.io so powerful. Since we have a complete git clone of your repo, you can run custom scripts and commands, much like you would in other CI systems.

This means that if there are any post-checkout or post-update actions that need to run for your dependency update to be complete, you can make it happen. When you get a PR from dependencies.io, it shouldn't require anybody to manually check out the branch just to perform some tedious, boilerplate task to prepare it to be merged.

How to use hooks

Each hook is simply a command that runs from within your repo. You can define them in the settings section of your dependencies.yml file.

version: 2
dependencies:
- type: python
  path: Pipfile
  settings:
    before_update:
    - "make bootstrap"
    before_commit:
    - "make update_readme"

The source and full list of available hooks can be found here.