We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using filePath I would like the rendered file to be shown as code e.g. a yaml file shown as yaml in a code block
The text was updated successfully, but these errors were encountered:
Update main.ts
ff299be
Fixes thollander#313
I was able to add some formatting by editing the file contents before commenting it. I added another step before the comment step:
... - name: overwrite parts of the comment file env: FILE_PATH: ${{ path_to_file }} run: | echo "\`\`\`js" > tmp cat $FILE_PATH >> tmp echo "\`\`\`" >> tmp mv tmp $FILE_PATH - name: Comment PR uses: thollander/actions-comment-pull-request@v2 with: filePath: ${{ path_to_file }} comment_tag: pr_comment ...
After this, the message sent was in js format.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
when using filePath I would like the rendered file to be shown as code e.g. a yaml file shown as yaml in a code block
The text was updated successfully, but these errors were encountered: