mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Update uncivbot.yml
This commit is contained in:
parent
e812e8e908
commit
241af27c71
4
.github/workflows/uncivbot.yml
vendored
4
.github/workflows/uncivbot.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
summary:
|
||||
if: github.event.comment.body == 'summary'
|
||||
if: github.event_name == "issue_comment" && github.event.comment.body == 'summary'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.ACTIONS_ACCESS_TOKEN}}
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
async function branchExists(branchName) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user