mirror of
https://github.com/tiennm99/awesome-actions.git
synced 2026-10-14 12:16:34 +00:00
Add LGTM Action
This commit is contained in:
1 parent
cd6abf04af
commit
15c063deb0
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
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@0.5.4
|
||||
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:
|
||||
trigger: '^(lgtm|LGTM)!?$'
|
||||
override: true
|
||||
source: lgtmapp
|
||||
Reference in new issue
Block a user