Skip to content

Let dependabot to update in group and touch package.json #1709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,21 @@ updates:
# Check the npm registry for updates every month
schedule:
interval: "monthly"
# Bump versions only in package-lock.json
versioning-strategy: "lockfile-only"
# Usually only bump versions in package-lock.json, but update package.json for major version updates
versioning-strategy: "increase-if-necessary"
# Update all dependencies in a single PR
groups:
# ESLint usually requires updating together for major updates
eslint:
patterns:
- "eslint*"
- "@typescript-eslint/*"
Comment on lines +18 to +21
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at what will be needed for TypeScript ESLint in the future, we may want to already add @eslint/* too:

Suggested change
eslint:
patterns:
- "eslint*"
- "@typescript-eslint/*"
eslint:
patterns:
- "eslint*"
- "@eslint/*"
- "@typescript-eslint/*"

# Other updates should be okay all at once
dev-dependencies:
patterns:
- "*"
# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
2 changes: 1 addition & 1 deletion .github/workflows/codeowners-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Run Codeowners merge check
uses: OSS-Docs-Tools/[email protected].3
uses: OSS-Docs-Tools/[email protected].6
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading