Skip to content

Commit

Permalink
Merge pull request #36042 from rayane-djouah/Create-Automation-for-wh…
Browse files Browse the repository at this point in the history
…en-main-fails

[No QA] Fix permission error for assigning the new issue for main failure notification
  • Loading branch information
pecanoro authored Feb 8, 2024
2 parents c3ae221 + 5a490b5 commit 9aa9a72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/failureNotifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ jobs:
`1. **Why the PR caused the job to fail?**\n` +
`2. **Address any underlying issues.**\n\n` +
`🐛 We appreciate your help in squashing this bug!`;
github.rest.issues.create({
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: issueTitle,
body: issueBody,
labels: [failureLabel, 'Daily'],
assignees: [prMerger, prAuthor]
assignees: [prMerger]
});
}
}
Expand Down

0 comments on commit 9aa9a72

Please sign in to comment.