Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 733 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 733 Bytes

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.

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