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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners