mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
Update uncivbot.yml
This commit is contained in:
parent
ea8d5957ff
commit
d8592ac34e
11
.github/workflows/uncivbot.yml
vendored
11
.github/workflows/uncivbot.yml
vendored
@ -100,7 +100,18 @@ jobs:
|
|||||||
body: 'Translations branch created' })
|
body: 'Translations branch created' })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function mergeExistingTranslationsIntoBranch(){
|
||||||
|
var translationPrs = github.pulls.list({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
state: "open",
|
||||||
|
})
|
||||||
|
translationPrs.forEach(pr => { console.log(pr) })
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
await createTranslationBranchIfNeeded()
|
await createTranslationBranchIfNeeded()
|
||||||
|
mergeExistingTranslationsIntoBranch()
|
||||||
|
|
||||||
//async function createTranslationPrIfNeeded(context: Context<Webhooks.WebhookPayloadIssueComment>,
|
//async function createTranslationPrIfNeeded(context: Context<Webhooks.WebhookPayloadIssueComment>,
|
||||||
// owner: string, translations: string) {
|
// owner: string, translations: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user