From a4dae207af504b90f606eabb9a3b298928cbda57 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Wed, 22 Jan 2025 08:22:06 +0000 Subject: [PATCH 1/4] add python and modelscan dirs to dependabot config --- .github/dependabot.yml | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a4a2760cf..c2f9b02ba 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,45 +7,52 @@ updates: - package-ecosystem: 'npm' # Look for `package.json` and `lock` files in the `root` directory directory: '/' - # Check the npm registry for updates every day (weekdays) + # Check the npm registry for updates every month schedule: interval: 'monthly' versioning-strategy: increase - # Allow up to 1 open pull requests for node dependencies + # Allow up to 15 open pull requests for node dependencies open-pull-requests-limit: 15 - package-ecosystem: 'npm' # Look for `package.json` and `lock` files in the `root` directory directory: '/frontend' - # Check the npm registry for updates every day (weekdays) + # Check the npm registry for updates every month schedule: interval: 'monthly' versioning-strategy: increase - # Allow up to 1 open pull requests for node dependencies + # Allow up to 2 open pull requests for node dependencies open-pull-requests-limit: 2 - package-ecosystem: 'npm' # Look for `package.json` and `lock` files in the `root` directory directory: '/backend' - # Check the npm registry for updates every day (weekdays) + # Check the npm registry for updates every month schedule: interval: 'monthly' versioning-strategy: increase - # Allow up to 1 open pull requests for node dependencies + # Allow up to 15 open pull requests for node dependencies open-pull-requests-limit: 15 # Enable version updates for Docker - package-ecosystem: 'docker' - # Look for a `Dockerfile` in the `root` directory - directory: '/frontend' + # Look for a `Dockerfile` in these directories + directories: + - '/' + - '/backend' + - '/frontend' + - '/lib/modelscan_api' # Check for updates once a week schedule: interval: 'weekly' - # Allow up to 3 open pull requests for docker dependencies - open-pull-requests-limit: 3 - - package-ecosystem: 'docker' - # Look for a `Dockerfile` in the `root` directory - directory: '/backend' - # Check for updates once a week + open-pull-requests-limit: 9 + + # Enable version updates for python + - package-ecosystem: pip + # Look for a `requirements*` or `pyproject.toml` in these directories + directories: + - '/lib/python' + - '/lib/modelscan_api' + - '/backend/docs' schedule: - interval: 'weekly' - # Allow up to 3 open pull requests for docker dependencies - open-pull-requests-limit: 3 + interval: 'monthly' + versioning-strategy: increase + open-pull-requests-limit: 6 From b7e7fea177e9ccdc3e2bfa21cada24b7f0aca953 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Wed, 22 Jan 2025 08:31:53 +0000 Subject: [PATCH 2/4] increase pip scheduled frequency --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c2f9b02ba..3fc99c0bb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -53,6 +53,6 @@ updates: - '/lib/modelscan_api' - '/backend/docs' schedule: - interval: 'monthly' + interval: 'weekly' versioning-strategy: increase open-pull-requests-limit: 6 From 606e4e875c20ce7a11c84f0e75b2ebe1fb4c9a43 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Wed, 22 Jan 2025 09:23:13 +0000 Subject: [PATCH 3/4] add github actions to dependabot --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3fc99c0bb..eaa4101e4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -56,3 +56,10 @@ updates: interval: 'weekly' versioning-strategy: increase open-pull-requests-limit: 6 + + # Set update schedule for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + open-pull-requests-limit: 12 From 095fcd4e1c4ed32f97c8e558db628157167737a4 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Wed, 22 Jan 2025 09:25:24 +0000 Subject: [PATCH 4/4] lint speechmarks --- .github/dependabot.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index eaa4101e4..25e9bcdfd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -46,7 +46,7 @@ updates: open-pull-requests-limit: 9 # Enable version updates for python - - package-ecosystem: pip + - package-ecosystem: 'pip' # Look for a `requirements*` or `pyproject.toml` in these directories directories: - '/lib/python' @@ -58,8 +58,8 @@ updates: open-pull-requests-limit: 6 # Set update schedule for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: 'github-actions' + directory: '/' schedule: - interval: "monthly" + interval: 'monthly' open-pull-requests-limit: 12