Skip to content

Commit 433602a

Browse files
committed
try check for zero length
1 parent a610d34 commit 433602a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/configure-goproxy/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
id: configure-goproxy
2222
shell: bash
2323
run: |
24-
if [[ "${{ inputs.user }}" == "" ]] ||
24+
if [[ ! -z ${{ inputs.user }} ]] ||
2525
[[ ${{ github.event.pull_request.head.repo.fork }} ]] ||
2626
[[ ${{ startsWith(github.head_ref, 'dependabot-')}} ]] ; then
2727
echo "No Artifactory secrets available - using direct GOPROXY"

0 commit comments

Comments
 (0)