Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-23 23:43:49 +02:00 committed by GitHub
parent 43577625e9
commit c6c5bffafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ jobs:
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{secrets.ACTIONS_ACCESS_TOKEN}}
script: |
async function branchExists(branchName) {
try {
@ -131,6 +131,7 @@ jobs:
repo: context.repo.repo,
pull_number: pr.number,
merge_method: "squash" })
console.log("Merged #"+pr.number+", "+pr.title)
} catch (err) {
console.log(err)
}