We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7252232 commit a735e8bCopy full SHA for a735e8b
.github/workflows/sv-tests-ci.yml
@@ -119,8 +119,17 @@ jobs:
119
path: ./out/report
120
- name: Display structure of downloaded files
121
run: ls -R ./out/
122
- - uses: harupy/comment-on-pr@master
123
- env:
124
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - id: get-comment-body
+ run: |
+ body=$(cat comment-body.txt)
125
+ body="${body//'%'/'%25'}"
126
+ body="${body//$'\n'/'%0A'}"
127
+ body="${body//$'\r'/'%0D'}"
128
+ echo ::set-output name=body::$body
129
+ - name: Post comment
130
+ uses: KeisukeYamashita/create-comment@v1
131
with:
- filename: ../../out/report/tests_summary.md
132
+ check-only-first-line: "true"
133
+ unique: "true"
134
+ token: ${{ secrets.GITHUB_TOKEN }}
135
+ comment: ${{ steps.get-comment-body.outputs.body }}
0 commit comments