Skip to content

Commit

Permalink
Enable Dependabot alerts for major Composer updates
Browse files Browse the repository at this point in the history
This configuration file sets up Dependabot to check for major version updates to Composer dependencies on a weekly basis. Minor and patch updates are ignored to focus only on significant changes.
  • Loading branch information
koriym committed Nov 2, 2024
1 parent 00a1b69 commit ae25749
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Alerts only major updates for Packagist (Composer)
#
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "composer" # Specify the correct package ecosystem for PHP
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
ignore:
- dependency-name: "*" # Ignore all dependencies for specific update types
update-types: ["version-update:semver-minor", "version-update:semver-patch"]

0 comments on commit ae25749

Please sign in to comment.