File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Handle /lgtm
2
+ on :
3
+ repository_dispatch :
4
+ types : [lgtm]
5
+
6
+ jobs :
7
+ approve-and-merge :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Add 'lgtm' label
11
+ uses : actions-ecosystem/action-add-labels@v1
12
+ with :
13
+ github_token : ' ${{ secrets.GITHUB_TOKEN }}'
14
+ labels : lgtm
15
+
16
+ - name : Merge the PR
17
+ uses : actions-ecosystem/action-pull-request-merge@v1
18
+ with :
19
+ github_token : ${{ secrets.GITHUB_TOKEN }}
20
+ merge_method : squash
Original file line number Diff line number Diff line change
1
+ name : Slash Command Handler
2
+
3
+ on :
4
+ issue_comment :
5
+ types : [created]
6
+
7
+ jobs :
8
+ slash-command :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : peter-evans/slash-command-dispatch@v3
12
+ with :
13
+ token : ${{ secrets.GITHUB_TOKEN }}
14
+ commands : |
15
+ lgtm
16
+ # assign
You can’t perform that action at this time.
0 commit comments