Skip to content

Commit e064824

Browse files
committed
ci: module-replace: ignore Dockerfile for api changes
The API Dockerfile should be ok to ignore for this check, as it's not part of the module; ``` ================================================ ================================================ api diff: -ARG GO_VERSION=1.25.7 +ARG GO_VERSION=1.25.8 ================================================ Detected changes in ./api directory, checking for replace rule... null ERROR: Changes detected in ./api but go.mod is missing a replace rule for github.com/moby/moby/api Please run ./hack/vendor.sh replace ================================================ ``` Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 83bca51 commit e064824

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hack/validate/module-replace

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ filter_diff() {
1212
api_diff=$(
1313
validate_diff --diff-filter=ACMR -U0 -- \
1414
'api/' \
15+
':(exclude)api/Dockerfile' \
1516
':(exclude)api/README.md' \
1617
':(exclude)api/swagger.yaml' \
1718
':(exclude)api/docs/' \

0 commit comments

Comments
 (0)