Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-23 23:48:26 +02:00 committed by GitHub
parent e812e8e908
commit 241af27c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {