File tree 2 files changed +42
-34
lines changed
2 files changed +42
-34
lines changed Original file line number Diff line number Diff line change
1
+ name : automerge
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - labeled
7
+ - unlabeled
8
+ - synchronize
9
+ - opened
10
+ - edited
11
+ - ready_for_review
12
+ - reopened
13
+ - unlocked
14
+ pull_request_review :
15
+ types :
16
+ - submitted
17
+ check_suite :
18
+ types :
19
+ - completed
20
+ status : {}
21
+
22
+ jobs :
23
+ automerge :
24
+ runs-on : ubuntu-latest
25
+ if : >
26
+ contains(github.event.pull_request.labels.*.name, 'gate')
27
+ environment : github
28
+ steps :
29
+ - name : Create GitHub App Token
30
+ id : app-token
31
+ uses : actions/create-github-app-token@v1
32
+ with :
33
+ app-id : ${{ secrets.APP_ID }}
34
+ private-key : ${{ secrets.APP_KEY }}
35
+
36
+ - id : automerge
37
+ name : automerge
38
+
39
+ env :
40
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
41
+ MERGE_LABELS : " gate"
42
+ MERGE_METHOD : " squash"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments