Skip to content

Commit fd4eab5

Browse files
Fix mdox link validation CI failure for medium.com 403 responses (#819)
* Initial plan * Fix lint CI: add mdox validate config to ignore medium.com 403 errors Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com> Agent-Logs-Url: https://github.com/grpc-ecosystem/go-grpc-middleware/sessions/b880671a-fa03-46cd-862e-7e07c6e894d8 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
1 parent ab2131d commit fd4eab5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.mdox.validate.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version: 1
2+
3+
validators:
4+
- regex: 'medium\.com'
5+
type: 'ignore'

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ MODULES ?= $(PROVIDER_MODULES) $(PWD) $(PWD)/examples
77
GO_FILES_TO_FMT ?= $(shell find . -path -prune -o -name '*.go' -print)
88

99
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
10+
MDOX_VALIDATE_CONFIG ?= .mdox.validate.yaml
1011

1112
TMP_GOPATH ?= /tmp/gopath
1213

0 commit comments

Comments
 (0)