File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ inputs:
16
16
required : false
17
17
shopware-github-token :
18
18
description : Token used for checking out the shopware repository
19
- required : true
20
- default : ${{ github.token }}
19
+ required : false
20
+ default : " "
21
21
22
22
outputs :
23
23
shopware-version :
28
28
using : " composite"
29
29
steps :
30
30
- shell : bash
31
+ if : ${{ inputs.shopware-github-token }}
31
32
run : |
32
33
git config --global "http.https://github.com/${{ inputs.repo || 'shopware/shopware' }}".extraheader "AUTHORIZATION: basic $(echo -n "x-access-token:${{ inputs.shopware-github-token }}" | base64 -w0)"
33
34
44
45
run : ${GITHUB_ACTION_PATH}/shopware-version.bash
45
46
46
47
- shell : bash
48
+ if : ${{ inputs.shopware-github-token }}
47
49
run : |
48
50
git config --global --unset "http.https://github.com/${{ inputs.repo || 'shopware/shopware' }}".extraheader
You can’t perform that action at this time.
0 commit comments