Skip to content

Commit

Permalink
Merge pull request #47405 from vvoland/validate-vendor-nopager
Browse files Browse the repository at this point in the history
validate/vendor: Disable pager for git diff
  • Loading branch information
thaJeztah committed Feb 21, 2024
2 parents 2a41ce9 + 8761bff commit cba8712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:

env:
GO_VERSION: "1.21.7"
GIT_PAGER: "cat"
PAGER: "cat"

jobs:
validate-dco:
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export VALIDATE_REPO
export VALIDATE_BRANCH
export VALIDATE_ORIGIN_BRANCH

export PAGER
export GIT_PAGER

# env vars passed through directly to Docker's build scripts
# to allow things like `make KEEPBUNDLE=1 binary` easily
# `project/PACKAGERS.md` have some limited documentation of some of these
Expand Down Expand Up @@ -77,6 +80,8 @@ DOCKER_ENVS := \
-e DEFAULT_PRODUCT_LICENSE \
-e PRODUCT \
-e PACKAGER_NAME \
-e PAGER \
-e GIT_PAGER \
-e OTEL_EXPORTER_OTLP_ENDPOINT \
-e OTEL_EXPORTER_OTLP_PROTOCOL \
-e OTEL_SERVICE_NAME
Expand Down

0 comments on commit cba8712

Please sign in to comment.