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: 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)
} }