Skip to content

Commit 3134805

Browse files
authored
Pd 796 (#155)
* safe dir * try this
1 parent 06e835f commit 3134805

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

go/lint/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ inputs:
2121
description: The version of golangci-lint to use
2222
required: false
2323
default: ""
24+
WORKSPACE:
25+
description: workspace directory
26+
required: false
27+
default: ""
2428

2529
runs:
2630
using: "composite"
@@ -51,6 +55,9 @@ runs:
5155
uses: wishabi/github-actions/go/deps@v0
5256
with:
5357
FLIPPCIRCLECIPULLER_REPO_TOKEN: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}
58+
- name: Setup safe directory
59+
shell: bash
60+
run: git config --global --add safe.directory ${{ inputs.WORKSPACE }}
5461
- name: Run Go linter
5562
uses: golangci/golangci-lint-action@v3
5663
with:

0 commit comments

Comments
 (0)