2019-10-17 03:03:34 -04:00
|
|
|
name: LGTM Reaction
|
2019-10-17 02:55:30 -04:00
|
|
|
on:
|
|
|
|
issue_comment:
|
|
|
|
types: [created]
|
|
|
|
pull_request_review:
|
|
|
|
types: [submitted]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@1.0.0
|
2019-10-17 03:03:34 -04:00
|
|
|
- uses: micnncim/action-lgtm-reaction@v0.5.4
|
2019-10-17 02:55:30 -04:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
|
|
GITHUB_ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
|
|
GITHUB_COMMENT_BODY: ${{ github.event.comment.body }}
|
|
|
|
GITHUB_COMMENT_ID: ${{ github.event.comment.id }}
|
|
|
|
GITHUB_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
|
|
|
|
GITHUB_REVIEW_BODY: ${{ github.event.review.body }}
|
|
|
|
GITHUB_REVIEW_ID: ${{ github.event.review.id }}
|
|
|
|
with:
|
2019-10-17 03:14:07 -04:00
|
|
|
trigger: '["^LGTM!?$"]'
|
2019-10-17 02:55:30 -04:00
|
|
|
override: true
|
|
|
|
source: lgtmapp
|