mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-17 08:52:37 +00:00
Restore user type verification to bot comment
This commit is contained in:
parent
6b22709ed5
commit
2217686b99
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ steps:
|
|||
issue_number: context.issue.number,
|
||||
})
|
||||
const botComment = comments.find(comment => {
|
||||
return comment.body.includes('Terraform Format and Style')
|
||||
return comment.user.type === 'Bot' && comment.body.includes('Terraform Format and Style')
|
||||
})
|
||||
|
||||
// 2. Prepare format of the comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue