Skip to content

Commit

Permalink
update comment code foir memcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
TomVer99 committed Jun 7, 2024
1 parent 6ed663c commit 93d4d21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const issueNumber = context.issue.number;
const repo = context.repo;
const memReport = fs.readFileSync('path/to/memReport.txt',
await github.rest.issues.createComment({
...repo,
issue_number: issueNumber,
body: 'Valgrind report',
});
body: '### Valgrind report\n\n${memReport}',
});

0 comments on commit 93d4d21

Please sign in to comment.