Skip to content

Commit 38a8ada

Browse files
committed
wip
Signed-off-by: Ashley Davis <[email protected]>
1 parent afc14e5 commit 38a8ada

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/govulncheck.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
# see https://github.com/actions/checkout/issues/701 for extra info about this option
2727
with: { fetch-depth: 0 }
2828

29+
- uses: ./.github/actions/repo_access
30+
with:
31+
DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB: ${{ secrets.DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB }}
32+
2933
- id: go-version
3034
run: |
3135
make print-go-version >> "$GITHUB_OUTPUT"

make/_shared/go/01_mod.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,14 @@ shared_generate_targets += generate-govulncheck
9898
verify-govulncheck: | $(NEEDS_GOVULNCHECK)
9999
@find . -name go.mod -not \( -path "./$(bin_dir)/*" -or -path "./make/_shared/*" \) \
100100
| while read d; do \
101+
set -x ; \
101102
target=$$(dirname $${d}); \
102-
echo "Running 'GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
103+
echo "Running 'GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
103104
pushd "$${target}" >/dev/null; \
104105
GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
105106
popd >/dev/null; \
106107
echo ""; \
108+
set +x ; \
107109
done
108110

109111
ifdef golangci_lint_config

0 commit comments

Comments
 (0)