Merge pull request #514 from github/fixAuto

Update automerge-dependabot.yml
This commit is contained in:
Lukas Gravley 2020-08-04 11:07:37 -05:00 committed by GitHub
commit f76bd21161
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