Create uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-20 22:28:19 +02:00 committed by GitHub
parent a0cc362e0c
commit bcd8b34d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/uncivbot.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: UncivBot
on: [issue_comment]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v3
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 }}
})