We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61eeea7 commit 60cbf70Copy full SHA for 60cbf70
.github/actions/configure-goproxy/action.yml
@@ -21,9 +21,11 @@ runs:
21
id: configure-goproxy
22
shell: bash
23
run: |
24
- if [[ -z ${{ inputs.user }} ]] ||
25
- [[ ${{ github.event.pull_request.head.repo.fork }} ]] ||
26
- [[ ${{ startsWith(github.head_ref, 'dependabot-')}} ]] ; then
+ if [[ -z "${{ inputs.user }}" ]] || \
+ [[ -z "${{ inputs.token }}" ]] || \
+ [[ -z "${{ inputs.url }}" ]] || \
27
+ [[ "${{ github.event.pull_request.head.repo.fork" }} == 'true' ]] ||
28
+ [[ ${{ startsWith(github.head_ref, 'dependabot-')}} == 'true' ]] ; then
29
echo "No Artifactory secrets available - using direct GOPROXY"
30
GOPROXY_VALUE="direct"
31
else
0 commit comments