From ac94f5b5065473d2631286969f3d9d92c54401f6 Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 17 Aug 2022 22:29:17 +0800 Subject: [PATCH] ci: auto merge into master --- .github/workflows/auto-merge.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 045b32ec4..728d965fb 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -5,6 +5,21 @@ on: 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 @@ -15,7 +30,7 @@ jobs: with: source_branch: 'develop' destination_branch: 'v1/master' - pr_title: 'Merge develop ${{ github.ref }} into v1 mainnet' + pr_title: 'Merge develop into v1 mainnet' pr_reviewer: 'keith-cy' pr_label: 'auto-pr' github_token: ${{ secrets.GITHUB_TOKEN }} @@ -30,7 +45,7 @@ jobs: with: source_branch: 'develop' destination_branch: 'v1/testnet' - pr_title: 'Merge develop ${{ github.ref }} into v1 testnet' + pr_title: 'Merge develop into v1 testnet' pr_reviewer: 'keith-cy' pr_label: 'auto-pr' github_token: ${{ secrets.GITHUB_TOKEN }} @@ -45,7 +60,7 @@ jobs: with: source_branch: 'develop' destination_branch: 'v1/betanet' - pr_title: 'Merge develop ${{ github.ref }} into v1 betanet' + pr_title: 'Merge develop into v1 betanet' pr_reviewer: 'keith-cy' pr_label: 'auto-pr' github_token: ${{ secrets.GITHUB_TOKEN }}