Skip to content

Commit 012436b

Browse files
authored
Let dependabot to update in group and touch package.json (#1709)
* Let dependabot to update in group and touch package.json * split eslint * Also update code owner action
1 parent cfd6476 commit 012436b

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/dependabot.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,21 @@ updates:
1010
# Check the npm registry for updates every month
1111
schedule:
1212
interval: "monthly"
13-
# Bump versions only in package-lock.json
14-
versioning-strategy: "lockfile-only"
13+
# Usually only bump versions in package-lock.json, but update package.json for major version updates
14+
versioning-strategy: "increase-if-necessary"
15+
# Update all dependencies in a single PR
16+
groups:
17+
# ESLint usually requires updating together for major updates
18+
eslint:
19+
patterns:
20+
- "eslint*"
21+
- "@typescript-eslint/*"
22+
# Other updates should be okay all at once
23+
dev-dependencies:
24+
patterns:
25+
- "*"
26+
# Enable version updates for GitHub Actions
27+
- package-ecosystem: "github-actions"
28+
directory: "/"
29+
schedule:
30+
interval: "monthly"

.github/workflows/codeowners-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Run Codeowners merge check
18-
uses: OSS-Docs-Tools/[email protected].3
18+
uses: OSS-Docs-Tools/[email protected].6
1919
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)