diff --git a/.github/workflows/lgtm.yml b/.github/workflows/lgtm.yml new file mode 100644 index 000000000..61c91e5cc --- /dev/null +++ b/.github/workflows/lgtm.yml @@ -0,0 +1,18 @@ +name: Send LGTM reaction +on: + issue_comment: + types: [created] + pull_request_review: + types: [submitted] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@1.0.0 + - uses: micnncim/action-lgtm-reaction@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }} + with: + trigger: '["^(?i)lgtm!*$"]' + source: 'giphy'