Skip to content

Commit 828aa61

Browse files
authored
Refactor integration comments filter condition
1 parent a61dc53 commit 828aa61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/check-for-integration-result.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
owner: context.repo.owner,
2222
repo: context.repo.repo
2323
});
24-
console.log(result)
25-
const integrationComments = result.data.filter(c => c.user.login == 'primer-integration[bot]' && c.body.includes('test-result'))
24+
const integrationComments = result.data.filter(c => c.user.login == 'primer-integration[bot]') // && c.body.includes('test-result'))
2625
console.log(integrationComments)
2726
2827
const latestComment = integrationComments.sort(c => c.createdAt)[0]

0 commit comments

Comments
 (0)