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 }}" })