mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
Update automerge-dependabot.yml
This commit is contained in:
parent
47b5a79c41
commit
3d55ba70f3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/automerge-dependabot.yml
vendored
4
.github/workflows/automerge-dependabot.yml
vendored
|
@ -33,13 +33,13 @@ jobs:
|
||||||
uses: actions/github-script@v2
|
uses: actions/github-script@v2
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.pullRequests.createReview({
|
github.pulls.createReview({
|
||||||
owner: context.payload.repository.owner.login,
|
owner: context.payload.repository.owner.login,
|
||||||
repo: context.payload.repository.name,
|
repo: context.payload.repository.name,
|
||||||
pull_number: context.payload.pull_request.number,
|
pull_number: context.payload.pull_request.number,
|
||||||
event: 'APPROVE'
|
event: 'APPROVE'
|
||||||
})
|
})
|
||||||
github.pullRequests.merge({
|
github.pulls.merge({
|
||||||
owner: context.payload.repository.owner.login,
|
owner: context.payload.repository.owner.login,
|
||||||
repo: context.payload.repository.name,
|
repo: context.payload.repository.name,
|
||||||
pull_number: context.payload.pull_request.number
|
pull_number: context.payload.pull_request.number
|
||||||
|
|
Loading…
Reference in a new issue