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 c9a0c8a commit 666ca6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/artifact-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
const comments = response.repository.pullRequest.comments.nodes
const mutations = comments
.filter(c => c[i].author.login == 'github-actions' && !c[i].isMinimized && c[i].body.startsWith('Affected Artifacts'))
.map(c =>
.filter(comment => comment.author.login == 'github-actions' && !comment.isMinimized && comment.body.startsWith('Affected Artifacts'))
.map(comment =>
github.graphql(
`mutation {
minimizeComment(input:{subjectId:"${comments[i].id}", classifier:OUTDATED}){
minimizeComment(input:{subjectId:"${comment.id}", classifier:OUTDATED}){
clientMutationId
}
}`
Expand Down

0 comments on commit 666ca6d

Please sign in to comment.