Skip to content

Commit 3c2559c

Browse files
authored
ci(dependabot): pin types-protobuf to <v7 via ignore rule (a2aproject#1069)
# Description Adds a dependabot `ignore` rule preventing `types-protobuf` from being bumped to `>=7` while the project's runtime `protobuf` is still pinned to `<7`. Related: a2aproject#1062, a2aproject#1063
1 parent 1992324 commit 3c2559c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ updates:
88
all:
99
patterns:
1010
- '*'
11+
ignore:
12+
# Pin to v6.x. Dependabot rewrites pure upper-bound constraints in
13+
# pyproject.toml (e.g. `<7` -> `<8`), so we must express this policy
14+
# here instead.
15+
# TODO: remove this ignore rule once the minimum
16+
# protobuf version requirement is bumped.
17+
- dependency-name: 'types-protobuf'
18+
versions: ['>=7']
1119
- package-ecosystem: 'github-actions'
1220
directory: '/'
1321
schedule:

0 commit comments

Comments
 (0)