Skip to content

Commit

Permalink
CI: group dependency updates #3801
Browse files Browse the repository at this point in the history
Problem:
Dependency updates can be noisy. Unmerged dependency updates can block
other updates if the max is
reached.

Solution:
- Use dependabot "groups" feature: https://github.blog/2023-08-24-a-faster-way-to-manage-version-updates-with-dependabot/
    - Group updates to github actions.
    - Group updates to AWS SDK.
    - Group updates to vscode lsp packages.
  • Loading branch information
justinmk3 authored Sep 6, 2023
1 parent ba478c6 commit 06507c3
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ updates:
target-branch: 'master' # Avoid updates to "staging".
schedule:
interval: 'daily'
# Check for updates to GitHub Actions every week
groups:
aws-sdk:
dependency-type: 'production'
patterns:
- '@aws-sdk/*'
vscode-lsp:
dependency-type: 'production'
patterns:
- 'vscode-lang*'
- package-ecosystem: 'github-actions'
directory: '/'
target-branch: 'master' # Avoid updates to "staging".
schedule:
interval: 'weekly'
interval: 'daily'
groups:
github-actions:
patterns:
- '*'

0 comments on commit 06507c3

Please sign in to comment.