From 9031c48386d1421f0ea8591fb082d44c894efd15 Mon Sep 17 00:00:00 2001 From: Hayden Spitzley Date: Wed, 2 Oct 2024 15:22:14 -0600 Subject: [PATCH] fix user --- .github/actions/jira-validate-reference/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/jira-validate-reference/action.yaml b/.github/actions/jira-validate-reference/action.yaml index 3681dca2..2a2e6fb8 100644 --- a/.github/actions/jira-validate-reference/action.yaml +++ b/.github/actions/jira-validate-reference/action.yaml @@ -96,7 +96,7 @@ runs: }) for (let comment of comments) { - if (comment.body === noJiraIssueBody && user.type === 'Bot') { + if (comment.body === noJiraIssueBody && comment.user.type === 'Bot') { console.log('Found comment:', JSON.stringify(comment, null, 2)); await github.rest.issues.deleteComment({ owner,