mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Update uncivbot.yml
This commit is contained in:
parent
43577625e9
commit
c6c5bffafd
3
.github/workflows/uncivbot.yml
vendored
3
.github/workflows/uncivbot.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v3
|
- uses: actions/github-script@v3
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.ACTIONS_ACCESS_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
async function branchExists(branchName) {
|
async function branchExists(branchName) {
|
||||||
try {
|
try {
|
||||||
@ -131,6 +131,7 @@ jobs:
|
|||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
pull_number: pr.number,
|
pull_number: pr.number,
|
||||||
merge_method: "squash" })
|
merge_method: "squash" })
|
||||||
|
console.log("Merged #"+pr.number+", "+pr.title)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user