Skip to content

Commit

Permalink
Update cmd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Jul 23, 2024
1 parent 20f4350 commit cb504f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ jobs:
}).then(comments => {
for (let comment of comments.data) {
console.log(comment)
console.log(comment.author)
if (comment.body.startsWith('Command') && comment.author.login === 'github-actions[bot]') {
if (comment.body.startsWith('Command') && comment.user.login === 'github-actions[bot]') {
github.rest.issues.deleteComment({
comment_id: comment.id,
owner: context.repo.owner,
Expand Down

0 comments on commit cb504f8

Please sign in to comment.