From 22c1605687812e1b934416d3e8740ecdf3254536 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 1 Feb 2023 00:49:43 +0800 Subject: [PATCH] ci: fix lint VSC permissions error --- docs/release-notes/release-notes-0.16.0.md | 4 +++- tools/Dockerfile | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index ea11b9bf3..e784ada2e 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -396,7 +396,9 @@ Keysend](https://github.com/lightningnetwork/lnd/pull/7334). builds](https://github.com/lightningnetwork/lnd/pull/7295). * Fixed docker image version used in - [`tools`](https://github.com/lightningnetwork/lnd/pull/7254). + [`tools`](https://github.com/lightningnetwork/lnd/pull/7254) and golangci + issue where [it cannot fetch + commits](https://github.com/lightningnetwork/lnd/pull/7374). ### Integration test diff --git a/tools/Dockerfile b/tools/Dockerfile index 4da8390c4..db266f7ac 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -11,6 +11,7 @@ RUN cd /tmp \ && mkdir -p /tmp/build/.modcache \ && cd /tmp/tools \ && go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \ - && chmod -R 777 /tmp/build/ + && chmod -R 777 /tmp/build/ \ + && git config --global --add safe.directory /build WORKDIR /build