diff --git a/.github/workflows/uncivbot.yml b/.github/workflows/uncivbot.yml new file mode 100644 index 0000000000..e05ad862e3 --- /dev/null +++ b/.github/workflows/uncivbot.yml @@ -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 }} + })