Skip to content

Commit

Permalink
Update artifact-size-metrics.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0marperez authored Apr 25, 2024
1 parent 72947ee commit c9a0c8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/artifact-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ jobs:
const mutations = comments
.filter(c => c[i].author.login == 'github-actions' && !c[i].isMinimized && c[i].body.startsWith('Affected Artifacts'))
.map(c =>
const hideComment =
github.graphql(
`mutation {
minimizeComment(input:{subjectId:"${comments[i].id}", classifier:OUTDATED}){
clientMutationId
}
}`
github.graphql(hideComment)
)
)
await Promise.all(mutations)
Expand Down

0 comments on commit c9a0c8a

Please sign in to comment.