Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
moon

GitHub Action

LGTMoon on GitHub Issue and Pull request

v1.0

LGTMoon on GitHub Issue and Pull request

moon

LGTMoon on GitHub Issue and Pull request

Post LGTM image on GitHub Issue and Pull request using LGTMoon

Installation

Copy and paste the following snippet into your .yml file.

              

- name: LGTMoon on GitHub Issue and Pull request

uses: Doarakko/[email protected]

Learn more about this action in Doarakko/action-lgtmoon

Choose a version

action-lgtmoon

Post LGTM image on GitHub Issue and Pull request using LGTMoon.

example

Inputs

github-token

Required The GitHub token used to create an authenticated client.

Example usage

name: LGTM
on:
  issue_comment:
    types: [created]
  pull_request_review:
    types: [submitted]
  pull_request_review_comment:
    types: [created]

jobs:
  lgtm:
    runs-on: ubuntu-latest
    steps:
      - name: LGTM
        uses: Doarakko/test@main
        if: >-
          contains(github.event.comment.body, 'lgtm')
          || contains(github.event.review.body, 'lgtm')
        with:
          github-token: ${{secrets.GITHUB_TOKEN}}

Demo

Please comment or review "lgtm" to this issue and this pull request!

Credit