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

GitHub Action

What Is LGTM

v0.0.8

What Is LGTM

message-square

What Is LGTM

What does LGTM even stand for anyway

Installation

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

              

- name: What Is LGTM

uses: beeceej/[email protected]

Learn more about this action in beeceej/lgtm

Choose a version

LGTM

Who knows what the heck LGTM even stands for anyway?

Let's Get This Merged?

Let's Get this Money?

Looks Good To me?

something else?

This is an action that responds to the acronym in Pull Requests or issues with the true meaning of LGTM, or atleast up to the Random Number Generator.

Setup:

Add the GH_TOKEN secret to your repo with a token that has permission to comment on Issues.

lgtm demo

cat .github/workflows/action.yaml

---

on:
  issue_comment:
    types: [created]

jobs:
  lgtm:
    runs-on: ubuntu-latest
    name: True meaning of LGTM
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: LGTM
      uses: beeceej/[email protected]
      env:
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}