Published: Mar 3, 2022 by C.S. Rhymes This article will guide you through the basics of creating your configuration for dependabot so it can correctly analyse your dependencies and automatically create Pull Requests for you. To create a custom configuration for dependabot, we need to create a dependabot.yml file in the.github directory.

The npm configuration is almost identical to the composer configuration, except we define the package-ecosystem as “npm” and the labels have been updated too.

version: 2 updates: - package-ecosystem: "composer" # Update the directory directory: "/backend" schedule: interval: "weekly" target-branch: "develop" labels: - "php dependencies" - "backend" - package-ecosystem: "npm" # Update the directory directory: "/frontend" schedule: interval: "weekly" target-branch: "develop" labels: - "npm dependencies" - "frontend"
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners