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

GitHub Action

LGTM Reaction

v0.5.1

LGTM Reaction

thumbs-up

LGTM Reaction

Send LGTM reaction as image or GIF

Installation

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

              

- name: LGTM Reaction

uses: micnncim/[email protected]

Learn more about this action in micnncim/action-lgtm-reaction

Choose a version

LGTM Reaction

CI Release Marketplace

Send LGTM reaction as image or GIF when we say lgtm.
Currently supports GIPHY.

Usage

Create Workflow

jobs.<job_id>.steps.with.trigger should be a JSON string array of regexp.

name: Send LGTM reaction
on:
  issue_comment:
    types: [created]
  pull_request_review:
    types: [submitted]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]
      - uses: micnncim/action-lgtm-reaction@latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }}
          GITHUB: ${{ github }}
        with:
          trigger: '[".*looks good to me.*"]' # default: '["^(lgtm|LGTM)$", "^[gG]ood [jJ]ob!?$"]'
          override: true # default: false

License

MIT License