First of all, thanks for making this super-useful extension!
We use the extension to dynamically creates comments based on the output from another task. We load this output into a variable using ##vso[task.setvariable variable=FOO;] as described here, and then feed this variable into the pr-auto-comment task.
This works for single-line comments, but it only comments the first line in case of multi-line values. pr-auto-comment can handle multi-line values just fine, the problem is the variable doesn't accept multi-line values. Would it be possible to add support for a custom line delimiter, similar to how you already support custom comment delimiters? Alternatively, it could also be this is already possible and we're just missing something, but there is not a ton of examples out there.
First of all, thanks for making this super-useful extension!
We use the extension to dynamically creates comments based on the output from another task. We load this output into a variable using
##vso[task.setvariable variable=FOO;]
as described here, and then feed this variable into thepr-auto-comment
task.This works for single-line comments, but it only comments the first line in case of multi-line values.
pr-auto-comment
can handle multi-line values just fine, the problem is the variable doesn't accept multi-line values. Would it be possible to add support for a custom line delimiter, similar to how you already support custom comment delimiters? Alternatively, it could also be this is already possible and we're just missing something, but there is not a ton of examples out there.