Skip to content

Commit

Permalink
Try comment table from file
Browse files Browse the repository at this point in the history
  • Loading branch information
magnmaeh committed Oct 12, 2024
1 parent 53d5f18 commit 0940a1b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/memory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,11 @@ jobs:
artifacts: report.txt
comment-title: "Memory usage report"
comment-message: "Here is an overview of how your pull request impacts the memory usage compared to the main branch:"
- name: Comment test
uses: gavv/pull-request-artifacts@v2.1.0
- name: Comment test table
uses: GrantBirki/comment@v2.1.0
with:
commit: ${{ github.event.pull_request.head.sha }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifacts: report.txt
comment-title: "Test"
comment-message: "| First Header | Second Header |\n\
| ------------- | ------------- |\n\
| Content Cell | Content Cell |\n\
| Content Cell | Content Cell |"
file: table-test.md




4 changes: 4 additions & 0 deletions table-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |

0 comments on commit 0940a1b

Please sign in to comment.