mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 13:49:54 +07:00
Update uncivbot.yml
This commit is contained in:
11
.github/workflows/uncivbot.yml
vendored
11
.github/workflows/uncivbot.yml
vendored
@ -100,7 +100,18 @@ jobs:
|
||||
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()
|
||||
mergeExistingTranslationsIntoBranch()
|
||||
|
||||
//async function createTranslationPrIfNeeded(context: Context<Webhooks.WebhookPayloadIssueComment>,
|
||||
// owner: string, translations: string) {
|
||||
|
Reference in New Issue
Block a user