peter-evans / create-or-update-comment

A GitHub action to create or update an issue or pull request comment
MIT License
707 stars 113 forks source link

Adjust the body-includes to support dynamic values #341

Closed yaba-nofar closed 3 months ago

yaba-nofar commented 4 months ago

The body-includes input cannot accept the value: body-includes: ${{ inputs.values_file_path }} because it treats it as a literal string. Could you please adjust the action to support dynamic values, such as environment variables, outputs, and inputs?

peter-evans commented 3 months ago

Hi @yaba-nofar

I assume you are referring to this action: https://github.com/peter-evans/find-comment

The handling of templated values in workflows is taken care of by the Github Action runner. So using dynamic values in the workflow should work fine, and has nothing to do with the code of the action itself.