From 3d55ba70f3a512328e7c42148ae7b11bd58377dc Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Tue, 4 Aug 2020 11:05:11 -0500 Subject: [PATCH] Update automerge-dependabot.yml --- .github/workflows/automerge-dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge-dependabot.yml b/.github/workflows/automerge-dependabot.yml index bd579821..5caaa35e 100644 --- a/.github/workflows/automerge-dependabot.yml +++ b/.github/workflows/automerge-dependabot.yml @@ -33,13 +33,13 @@ jobs: uses: actions/github-script@v2 with: script: | - github.pullRequests.createReview({ + github.pulls.createReview({ owner: context.payload.repository.owner.login, repo: context.payload.repository.name, pull_number: context.payload.pull_request.number, event: 'APPROVE' }) - github.pullRequests.merge({ + github.pulls.merge({ owner: context.payload.repository.owner.login, repo: context.payload.repository.name, pull_number: context.payload.pull_request.number