Skip to content

Commit 1586b94

Browse files
authored
Added backward compatability for github workspace (#156)
1 parent 3134805 commit 1586b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
FLIPPCIRCLECIPULLER_REPO_TOKEN: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}
5858
- name: Setup safe directory
5959
shell: bash
60-
run: git config --global --add safe.directory ${{ inputs.WORKSPACE }}
60+
run: git config --global --add safe.directory ${{ inputs.WORKSPACE || github.workspace }}
6161
- name: Run Go linter
6262
uses: golangci/golangci-lint-action@v3
6363
with:

0 commit comments

Comments
 (0)