-
Notifications
You must be signed in to change notification settings - Fork 6
66 lines (61 loc) · 1.84 KB
/
auto-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Auto merge
on:
push:
branches: [develop]
jobs:
merge-to-master:
name: Merge to master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Request PR
uses: repo-sync/pull-request@v2
with:
source_branch: 'develop'
destination_branch: 'master'
pr_title: 'Merge develop into master'
pr_reviewer: 'keith-cy'
pr_label: 'auto-pr'
github_token: ${{ secrets.GITHUB_TOKEN }}
merge-to-v1-mainnet:
name: Merge to v1 mainnet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Request PR
uses: repo-sync/pull-request@v2
with:
source_branch: 'develop'
destination_branch: 'v1/master'
pr_title: 'Merge develop into v1 mainnet'
pr_reviewer: 'keith-cy,FrederLu'
pr_label: 'auto-pr'
github_token: ${{ secrets.GITHUB_TOKEN }}
merge-to-v1-testnet:
name: Merge to v1 testnet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Request PR
uses: repo-sync/pull-request@v2
with:
source_branch: 'develop'
destination_branch: 'v1/testnet'
pr_title: 'Merge develop into v1 testnet'
pr_reviewer: 'keith-cy,FrederLu'
pr_label: 'auto-pr'
github_token: ${{ secrets.GITHUB_TOKEN }}
merge-to-v1-betanet:
name: Merge to v1 betanet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Request PR
uses: repo-sync/pull-request@v2
with:
source_branch: 'develop'
destination_branch: 'v1/betanet'
pr_title: 'Merge develop into v1 betanet'
pr_reviewer: 'keith-cy'
pr_label: 'auto-pr'
github_token: ${{ secrets.GITHUB_TOKEN }}