Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-23 21:48:32 +02:00 committed by GitHub
parent 1f595dd2e7
commit e22f9a2691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ jobs:
var translationPrs = await github.pulls.list({
owner: context.repo.owner,
repo: context.repo.repo,
state: "open",
state: "open"
})
translationPrs.data.forEach(async pr => {
@ -125,7 +125,6 @@ jobs:
pull_number: pr.number,
base: translations })
if (pr.data.state == "open" && pr.data.mergeable)
await github.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,