Update automerge-dependabot.yml

This commit is contained in:
Lukas Gravley 2020-08-04 11:05:11 -05:00 committed by GitHub
parent 47b5a79c41
commit 3d55ba70f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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