Makefile: Pass PAGER/GIT_PAGER variable

Allow to override the PAGER/GIT_PAGER variables inside the container.
Use `cat` as pager when running in Github Actions (to avoid things like
`git diff` stalling the CI).

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2024-02-20 11:20:01 +01:00
parent 9d1541526c
commit 8761bffcaf
2 changed files with 7 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ on:
env:
GO_VERSION: "1.21.7"
GIT_PAGER: "cat"
PAGER: "cat"
jobs:
validate-dco: