From c13712978bf5082cd9995f7165024bd078f5d1b6 Mon Sep 17 00:00:00 2001 From: Antonio La Rocca Date: Fri, 6 Dec 2024 20:00:20 +0100 Subject: [PATCH 1/2] - New: added dependabot configuration file --- .github/dependabot.yml | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..085ef14 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,51 @@ +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "main" + allow: + - dependency-type: direct + schedule: + interval: "daily" + commit-message: + prefix: "GitHub Actions" + include: "scope" + labels: + - "dependencies" + - "workflows" + + # Maintain dependencies for npm + - package-ecosystem: "npm" + directory: "/" + target-branch: "main" + allow: + - dependency-type: direct + schedule: + interval: "daily" + versioning-strategy: increase + commit-message: + prefix: "NPM" + prefix-development: "NPM Dev" + include: "scope" + labels: + - "dependencies" + - "javascript" + + # Maintain dependencies for Composer + - package-ecosystem: "composer" + directory: "/" + target-branch: "main" + allow: + - dependency-type: direct + schedule: + interval: "daily" + versioning-strategy: increase + commit-message: + prefix: "Composer" + prefix-development: "Composer Dev" + include: "scope" + labels: + - "dependencies" + - "php" From 5a50eccc4134d49effd24ac8000ebc2e8a979fe5 Mon Sep 17 00:00:00 2001 From: Antonio La Rocca Date: Tue, 10 Dec 2024 15:21:00 +0100 Subject: [PATCH 2/2] - Tweak: changed dependencies check schedule --- .github/dependabot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 085ef14..b4ec936 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,7 +8,7 @@ updates: allow: - dependency-type: direct schedule: - interval: "daily" + interval: "weekly" commit-message: prefix: "GitHub Actions" include: "scope" @@ -23,7 +23,7 @@ updates: allow: - dependency-type: direct schedule: - interval: "daily" + interval: "weekly" versioning-strategy: increase commit-message: prefix: "NPM" @@ -40,7 +40,7 @@ updates: allow: - dependency-type: direct schedule: - interval: "daily" + interval: "weekly" versioning-strategy: increase commit-message: prefix: "Composer"