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 dfd1748 commit a5b66d7Copy full SHA for a5b66d7
.github/actions/secrets-parse/action.yml
@@ -36,7 +36,7 @@ runs:
36
json_value="${line#*=}"
37
value="$(jq -r '.' <<< "$json_value")"
38
# Mask the value (possibly multiline) from the logs
39
- sed 's/^ */::add-mask::/' <<< "$value"
+ printf "::add-mask::%s\n" "${value//$'\n'/::add-mask::}"
40
{
41
printf "%s<<%s\n" "$key" "$delimiter"
42
printf "%s\n" "$value"
0 commit comments