devops: filter merged comments to hide better (#26546)
This commit is contained in:
parent
4f9bf63259
commit
3916e36976
2
.github/workflows/create_test_report.yml
vendored
2
.github/workflows/create_test_report.yml
vendored
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
issue_number: prNumber,
|
||||
});
|
||||
for (const comment of comments) {
|
||||
if (comment.user.login === 'github-actions[bot]' && comment.body.includes('Test results')) {
|
||||
if (comment.user.login === 'github-actions[bot]' && /\[Test results\]\(https:\/\/.+?\) for "${{ github.event.workflow_run.name }}"/.test(comment.body)) {
|
||||
await github.graphql(`
|
||||
mutation {
|
||||
minimizeComment(input: {subjectId: "${comment.node_id}", classifier: OUTDATED}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue