Skip to content

Commit 60e5892

Browse files
committed
Workflows: Fix copy-paste mistake in release-asset-audit
The comment file in this workflow is plain-text not json.
1 parent 3e593b9 commit 60e5892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-asset-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
var fs = require('fs');
4141
var body = ''
4242
if (fs.existsSync('./comment')) {
43-
body = JSON.parse(fs.readFileSync('./comment')) + "\n\n";
43+
body = fs.readFileSync('./comment') + "\n\n";
4444
}
4545
body = body + `\n\nhttps://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
4646

0 commit comments

Comments
 (0)