Unciv/.github/workflows/uncivbot.yml
2021-01-20 22:33:08 +02:00

20 lines
508 B
YAML

name: UncivBot
on: [issue_comment]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v3
if: github.event.comment.body == "summary"
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "${{ github.event.comment.body }}"
})