Skip to content

Commit

Permalink
Update sizes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Apr 27, 2024
1 parent 7d0b902 commit d266c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sizes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
script: |
const fs = require('fs');
const report = fs.readFileSync('size_report.txt', 'utf8');
if (comment) {
if (report) {
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '## Firmware size changes for ${{ matrix.variant }}\n\n```\n' + report + '\n```'
body: '## Firmware size changes for ${{ matrix.variant }}\n\nCommit ${{ github.sha }}\n```\n' + report + '\n```'
});
}

0 comments on commit d266c6d

Please sign in to comment.