Skip to content

Commit 71dd4c3

Browse files
authored
Merge pull request #273 from wayfair-incubator/add-dependabot-config
Add grouped Dependabot config
2 parents 45275c4 + faf8766 commit 71dd4c3

File tree

4 files changed

+30
-63
lines changed

4 files changed

+30
-63
lines changed

.github/dependabot.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github:
7+
patterns:
8+
- "actions/*"
9+
- "octokit/*"
10+
- "github/*"
11+
schedule:
12+
interval: "weekly"
13+
- package-ecosystem: "npm"
14+
directory: "/"
15+
groups:
16+
dependencies:
17+
patterns:
18+
- "octokit/*"
19+
- "https-proxy-agent"
20+
dev-dependencies:
21+
patterns:
22+
- "@types/*"
23+
- "@vercel/*"
24+
- "eslint*"
25+
- "jest/*"
26+
- "typescript"
27+
- "*"
28+
schedule:
29+
interval: "weekly"

.github/workflows/build.yml

-9
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@ jobs:
1818
with:
1919
config: '.markdownlint.json'
2020
args: '**/*.md .github/**/*.md'
21-
lint-renovate:
22-
if: ${{ ! github.event.pull_request.head.repo.fork }}
23-
runs-on: ubuntu-latest
24-
steps:
25-
- uses: actions/checkout@v4
26-
- name: 🧼 lint renovate config
27-
uses: suzuki-shunsuke/[email protected]
28-
with:
29-
config_file_path: renovate.json
3021
build-changes:
3122
if: ${{ ! github.event.pull_request.head.repo.fork }}
3223
runs-on: ubuntu-latest

.github/workflows/fork.yml

-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ jobs:
1313
with:
1414
config: '.markdownlint.json'
1515
args: '**/*.md .github/**/*.md'
16-
lint-renovate:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: actions/checkout@v4
20-
- name: 🧼 lint renovate config
21-
uses: suzuki-shunsuke/[email protected]
22-
with:
23-
config_file_path: renovate.json
2416
build-fork:
2517
if: ${{ github.event.pull_request.head.repo.fork }}
2618
runs-on: ubuntu-latest

renovate.json

+1-46
Original file line numberDiff line numberDiff line change
@@ -1,46 +1 @@
1-
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"description": "Renovate configuration recommended by the Wayfair OSPO",
4-
"labels": [
5-
"renovate/{{depName}}"
6-
],
7-
"extends": [
8-
"config:base",
9-
":dependencyDashboard",
10-
":rebaseStalePrs"
11-
],
12-
"schedule": [
13-
"before 3am every weekday"
14-
],
15-
"enabledManagers": [
16-
"github-actions",
17-
"npm"
18-
],
19-
"packageRules": [
20-
{
21-
"matchPackageNames": ["jest", "ts-jest", "@types/jest"],
22-
"matchPackagePrefixes": ["jest-"],
23-
"groupName": "Jest",
24-
"allowedVersions": "28.x"
25-
},
26-
{
27-
"matchPackageNames": ["eslint"],
28-
"matchPackagePrefixes": ["eslint-", "@typescript-eslint/"],
29-
"groupName": "ESLint"
30-
},
31-
{
32-
"matchPackageNames": ["@types/node"],
33-
"groupName": "Node",
34-
"allowedVersions": "17.x"
35-
},
36-
{
37-
"matchPackageNames": ["typescript"],
38-
"groupName": "TypeScript",
39-
"allowedVersions": "4.x"
40-
},
41-
{
42-
"matchManagers": ["github-actions"],
43-
"groupName": "GitHub Actions"
44-
}
45-
]
46-
}
1+
{ "enabled": false }

0 commit comments

Comments
 (0)