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 0d35d36 commit bd0ace3Copy full SHA for bd0ace3
1 file changed
.github/workflows/GnuComment.yml
@@ -53,10 +53,6 @@ jobs:
53
const issue_number = Number(fs.readFileSync('./NR'));
54
const content = fs.readFileSync('./result.txt').toString();
55
56
- if (content.trim().length <= 7) { // 7 because we have backquote + \n
57
- return;
58
- }
59
-
60
const marker = '<!-- gnu-comment-bot -->';
61
const body = `${marker}\nGNU testsuite comparison:\n\`\`\`\n${content}\n\`\`\``;
62
@@ -77,6 +73,9 @@ jobs:
77
73
body
78
74
});
79
75
} else {
76
+ if (content.trim().length <= 7) { // 7 because we have backquote + \n
+ return;
+ }
80
await github.rest.issues.createComment({
81
...context.repo,
82
issue_number,
0 commit comments