Skip to content

Commit 930b947

Browse files
chore: disable code health runs on forks and add dependabot cooldown (#656)
1 parent 494070f commit 930b947

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
cooldown:
8+
default-days: 7
9+
include:
10+
- "*"
711
ignore:
812
# We are ignoring major updates on yargs-parser because yargs-parser@22
913
# does not play nicely when bundled using webpack. Our VSCode extension

.github/workflows/code-health-fork.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ permissions: {}
1010
jobs:
1111
run-tests:
1212
name: Run MongoDB tests
13-
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository
13+
# Code health disabled on forks for now
14+
# if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository
15+
if: github.event.pull_request.user.login == 'dependabot[bot]'
1416
strategy:
1517
matrix:
1618
os: [ubuntu-latest, macos-latest, windows-latest]

0 commit comments

Comments
 (0)