From 5a490b557d1c597abd8e92d54d921ef7b110ad0d Mon Sep 17 00:00:00 2001 From: rayane-djouah <77965000+rayane-djouah@users.noreply.github.com> Date: Wed, 7 Feb 2024 17:30:20 +0100 Subject: [PATCH] fix permission error --- .github/workflows/failureNotifier.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/failureNotifier.yml b/.github/workflows/failureNotifier.yml index 17e18e6e53f0..d2e0ec4f38e5 100644 --- a/.github/workflows/failureNotifier.yml +++ b/.github/workflows/failureNotifier.yml @@ -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] }); } }