Skip to content

Commit 7f6490a

Browse files
author
Kyle Dixler
committed
Fix error obtaining VCS status: exit status 128
`make lint-golang` errors with: error obtaining VCS status: exit status 128 Uses workaround from: golangci/golangci-lint#4033
1 parent 519a13f commit 7f6490a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/stage-lint.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
steps:
1616
- name: Checkout Repo
1717
uses: actions/checkout@v2
18+
# Fixes `error obtaining VCS status: exit status 128`
19+
# https://github.com/golangci/golangci-lint/issues/4033
20+
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
1821
- name: Lint
1922
# TODO: Enable linting after a cleanup commit.
2023
# Avoiding in this commit so as to not mix code changes w/ CI changes.

0 commit comments

Comments
 (0)