From 93a11c32eb61895df8e14132ec1cef78b26180cb Mon Sep 17 00:00:00 2001 From: Lee Dohm <1038121+lee-dohm@users.noreply.github.com> Date: Tue, 12 Oct 2021 12:40:20 -0700 Subject: [PATCH] Remove unnecessary data specifier --- .github/workflows/notify-when-maintainers-cannot-edit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/notify-when-maintainers-cannot-edit.yaml b/.github/workflows/notify-when-maintainers-cannot-edit.yaml index 77b85f8505..9ad2328f9b 100644 --- a/.github/workflows/notify-when-maintainers-cannot-edit.yaml +++ b/.github/workflows/notify-when-maintainers-cannot-edit.yaml @@ -42,7 +42,7 @@ jobs: console.log(JSON.stringify(result, null, 2)); - const pullRequest = result.data.repository.pullRequest; + const pullRequest = result.repository.pullRequest; if (pullRequest.headRepositoryOwner.login === 'github') { console.log('PR owned by github');