From 1c27d76d528cc8d0d363fb87d466cd71af1b349f Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 15 Oct 2025 11:29:36 +0200 Subject: [PATCH 1/4] chore: disable code health runs on forks --- .github/workflows/code-health-fork.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-health-fork.yml b/.github/workflows/code-health-fork.yml index a07b0d902..9457deb24 100644 --- a/.github/workflows/code-health-fork.yml +++ b/.github/workflows/code-health-fork.yml @@ -10,7 +10,7 @@ permissions: {} jobs: run-tests: name: Run MongoDB tests - if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.user.login == 'dependabot[bot]' # || github.event.pull_request.head.repo.full_name != github.repository strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] From a2af9962751765a958bb675a18969c51ac5f62cc Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Thu, 16 Oct 2025 10:23:41 +0200 Subject: [PATCH 2/4] chore: update dependabot with cooldown config --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05b63ec6b..dbbc08bcf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,6 +4,13 @@ updates: directory: "/" schedule: interval: "weekly" + cooldown: + default-days: 7 + include: + - "*" + exclude: + - "@mongodb-js/*" + - "@mongosh/*" ignore: # We are ignoring major updates on yargs-parser because yargs-parser@22 # does not play nicely when bundled using webpack. Our VSCode extension From 0f8cad350378d13f7952519a19413083084db06b Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Thu, 16 Oct 2025 10:26:49 +0200 Subject: [PATCH 3/4] chore: added a comment --- .github/workflows/code-health-fork.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-health-fork.yml b/.github/workflows/code-health-fork.yml index 9457deb24..77969f102 100644 --- a/.github/workflows/code-health-fork.yml +++ b/.github/workflows/code-health-fork.yml @@ -10,7 +10,9 @@ permissions: {} jobs: run-tests: name: Run MongoDB tests - if: github.event.pull_request.user.login == 'dependabot[bot]' # || github.event.pull_request.head.repo.full_name != github.repository + # Code health disabled on forks for now + # if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.user.login == 'dependabot[bot]' strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] From 596b188d7d71b922a9e22af944af2980f32b1665 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Thu, 16 Oct 2025 12:53:30 +0200 Subject: [PATCH 4/4] chore: remove exclusion --- .github/dependabot.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dbbc08bcf..fdc1d60e3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,9 +8,6 @@ updates: default-days: 7 include: - "*" - exclude: - - "@mongodb-js/*" - - "@mongosh/*" ignore: # We are ignoring major updates on yargs-parser because yargs-parser@22 # does not play nicely when bundled using webpack. Our VSCode extension