Skip to content

Commit ce5f129

Browse files
committed
ci(dependabot): add dependabot configuration to the repository
1 parent 7bc8593 commit ce5f129

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

.github/dependabot.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
version: 2
3+
4+
updates:
5+
- package-ecosystem: pip
6+
versioning-strategy: increase-if-necessary # Only increase the version if necessary (instead always latest)
7+
directory: '/' # The directory where Dependabot should look for pip dependencies.
8+
# schedule: { interval: weekly, day: sunday, time: '09:00' } # UTC
9+
schedule: { interval: daily, time: '09:00' } # UTC
10+
open-pull-requests-limit: 0 # Disables PRs for version-updates, only security updates
11+
groups:
12+
# pip-version-updates: # (disabled)
13+
# applies-to: version-updates
14+
# patterns: ['*']
15+
# update-types: [major, minor, patch]
16+
pip-security-updates:
17+
applies-to: security-updates
18+
patterns: ['*']
19+
update-types: [major, minor, patch] # All types in same group (same PR)
20+
commit-message: { prefix: 'ci(deps-pip): [skip ci]' } # Commit message prefix; [skip ci] disables GitHub workflows
21+
reviewers: ['tomassebestik'] # the CI team Espressif GitHub organization
22+
labels: ['dependencies', 'Status: Reviewing'] # Labels automatically added to the pull request
23+
pull-request-branch-name: { separator: '-' } # Separator for PR branch names
24+
25+
- package-ecosystem: github-actions
26+
open-pull-requests-limit: 0 # Only security updates
27+
directory: '/'
28+
# schedule: { interval: weekly, day: sunday, time: '09:00' } # UTC
29+
schedule: { interval: daily, time: '09:00' } # UTC
30+
groups:
31+
# github-actions-version-updates: # (disabled)
32+
# applies-to: version-updates
33+
# patterns: ['*']
34+
# update-types: [major, minor, patch]
35+
github-actions-security-updates:
36+
applies-to: security-updates
37+
patterns: ['*']
38+
update-types: [major, minor, patch]
39+
commit-message: { prefix: 'ci(deps-gh-actions): [skip ci]' }
40+
reviewers: ['tomassebestik']
41+
labels: ['dependencies', 'Status: Reviewing']
42+
pull-request-branch-name: { separator: '-' }

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ repos:
3434
rev: v1.9.0
3535
hooks:
3636
- id: mypy # Runs mypy for Python type checking
37-
additional_dependencies: ['types-all']
3837

3938
- repo: https://github.com/espressif/conventional-precommit-linter
4039
rev: v1.6.0

0 commit comments

Comments
 (0)