1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00
Files
archived-pie/.github/dependabot.yml
Tim Düsterhus cdcd3a87d6 Enable Dependabot for composer
Since php/pie#121 composer is configured to bump the minimally supported
version of dependencies when manually performing updates to composer
dependencies. Composer is also configured such that it will not offer any
dependencies that are incompatible with PHP 8.1 as the lowest supported PHP
version.

This allows to reliably enable Dependabot also for composer dependencies, as it
will do the right thing and of course CI will double check that. This absolves
the maintainer from manually needing to check for updates every so often,
because they will be delivered by a PR once a month, making it easy to keep the
dependencies up to date and secure.

Correct behavior was verified in a fork. As a result of merging this PR,
Dependabot will offer an update of `psalm/plugin-phpunit` to 0.19.0, which will
not automatically be performed by `composer update`, given it's considered a
major version, showcasing the benefit of the Dependabot integration.
2024-11-22 12:47:11 +01:00

11 lines
208 B
YAML

version: 2
updates:
- package-ecosystem: "github-actions"
directory: /
schedule:
interval: "monthly"
- package-ecosystem: "composer"
directory: /
schedule:
interval: "monthly"