You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to propose adding support for compiling templates without needing files. An example use case would be something along the lines of this,
- id: pr-messagename: Create PR Messageuses: cuchi/[email protected]with:
template_str: | Hello! You've created a PR that has {{ num_files_touched }} files changed! {% for file in files %} - {{ file }} {% endfor %}strict: truevariables: | files=... num_files_touched=30
- name: Create PRuses: peter-evans/create-pull-request@v5with:
body: ${{ steps.pr-message.outputs.contents }}
Would this be feasible? A major version bump might be necessary since template and output_file will no longer be required. If output_file is omitted, it saves the contents to the step's outputs. Thoughts on the proposal?
The text was updated successfully, but these errors were encountered:
I want to propose adding support for compiling templates without needing files. An example use case would be something along the lines of this,
Would this be feasible? A major version bump might be necessary since
template
andoutput_file
will no longer be required. Ifoutput_file
is omitted, it saves the contents to the step's outputs. Thoughts on the proposal?The text was updated successfully, but these errors were encountered: