Skip to content

Commit 28aa339

Browse files
committed
Update previous comment instead of posting a new one
1 parent 4efc713 commit 28aa339

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

perf-tester/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

perf-tester/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async function run(octokit, context, token) {
109109
const comments = (await octokit.issues.listComments(commentInfo)).data;
110110
for (let i = comments.length; i--;) {
111111
const c = comments[i];
112-
if (c.user.type === 'Bot' && /<sub>[\s\n]*(compressed|gzip)-size-action/.test(c.body)) {
112+
if (c.user.type === 'Bot' && /<sub>[\s\n]*performance-action/.test(c.body)) {
113113
commentId = c.id;
114114
break;
115115
}

0 commit comments

Comments
 (0)