Skip to content

Commit 20cf3bb

Browse files
Ignore protobuf and types-protobuf in Dependabot (#415)
We're keeping our protobuf pin at 5 and shouldn't need to upgrade to newer types-protobuf either, to match.
1 parent 4a68aca commit 20cf3bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+108
-103
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ updates:
88
directory: "/"
99
schedule:
1010
interval: "weekly"
11+
ignore:
12+
# We will manually update these as we drop compatibility for older versions.
13+
- dependency-name: "protobuf"
14+
- dependency-name: "types-protobuf"

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ BIN := .tmp/bin
1010
export PATH := $(BIN):$(PATH)
1111
export GOBIN := $(abspath $(BIN))
1212
export PYTHONPATH ?= gen
13+
BUF_VERSION := 1.62.0
1314
CONFORMANCE_ARGS ?= --strict_message --expected_failures=test/conformance/nonconforming.yaml --timeout 10s
1415
ADD_LICENSE_HEADER := $(BIN)/license-header \
1516
--license-type apache \
@@ -57,7 +58,7 @@ upstream: $(BIN)/buf
5758
$(ADD_LICENSE_HEADER)
5859

5960
.PHONY: format
60-
format: install $(BIN)/buf $(BIN)/license-header ## Format code
61+
format: install $(BIN)/buf $(BIN)/license-header ## Format code
6162
$(ADD_LICENSE_HEADER)
6263
buf format --write .
6364
uv run -- ruff format protovalidate test
@@ -96,10 +97,10 @@ $(BIN):
9697
@mkdir -p $(BIN)
9798

9899
$(BIN)/buf: $(BIN) Makefile
99-
go install github.com/bufbuild/buf/cmd/buf@latest
100+
go install github.com/bufbuild/buf/cmd/buf@v${BUF_VERSION}
100101

101102
$(BIN)/license-header: $(BIN) Makefile
102-
go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@latest
103+
go install github.com/bufbuild/buf/private/pkg/licenseheader/cmd/license-header@v${BUF_VERSION}
103104

104105
$(BIN)/protovalidate-conformance: $(BIN) Makefile
105106
go install github.com/bufbuild/protovalidate/tools/protovalidate-conformance@$(PROTOVALIDATE_VERSION)

gen/buf/validate/conformance/cases/bool_pb2.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/buf/validate/conformance/cases/bytes_pb2.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)