Open vberlier opened 1 year ago
Currently the example workflow uses read-file-action to expose the suggestion to the step that creates the comment. However GitHub actions can do this natively using the $GITHUB_OUTPUT environment file https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
read-file-action
$GITHUB_OUTPUT
- name: Run Suggest id: suggest run: | echo 'content<<EOF' >> $GITHUB_OUTPUT faqtory suggest "${{ github.event.issue.title }}" >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT
Untested but I think that's how it would work.
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
Currently the example workflow uses
read-file-action
to expose the suggestion to the step that creates the comment. However GitHub actions can do this natively using the$GITHUB_OUTPUT
environment file https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameterUntested but I think that's how it would work.