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');