We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c262469 commit 8c50adcCopy full SHA for 8c50adc
1 file changed
action.yml
@@ -54,7 +54,7 @@ runs:
54
# If cached data is a list of Finding objects, each with 'issueUrl' keys (i.e. v1),
55
# convert to a list of (partial) Result objects, each with 'findings' and 'issue' keys (i.e. v2).
56
# Otherwise, re-output as-is.
57
- echo "value=$(echo '${{ steps.restore.outputs.value }}' | jq 'if (type == "array" and length > 0 and .[0] | has("issueUrl")) then map({findings: [del(.issueUrl)], issue: {url: .issueUrl}}) else . end' )" >> $GITHUB_OUTPUT
+ echo "value=$(printf '%s' '${{ steps.restore.outputs.value }}' | jq 'if (type == "array" and length > 0 and (.[0] | has("issueUrl"))) then map({findings: [del(.issueUrl)], issue: {url: .issueUrl}}) else . end' )" >> $GITHUB_OUTPUT
58
- if: ${{ inputs.login_url && inputs.username && inputs.password && !inputs.auth_context }}
59
name: Authenticate
60
id: auth
0 commit comments