From 3359d501cbef2d50ba849ac7575a3ef7ab3f4a59 Mon Sep 17 00:00:00 2001 From: Mehmet Erim <34455572+mehmet-erim@users.noreply.github.com> Date: Wed, 23 Dec 2020 15:52:41 +0300 Subject: [PATCH] Create auto-pr.yml --- .github/workflows/auto-pr.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/auto-pr.yml diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml new file mode 100644 index 0000000000..fa724bb906 --- /dev/null +++ b/.github/workflows/auto-pr.yml @@ -0,0 +1,24 @@ +name: Merge branch rel-4.0 with rel-3.3 +on: + push: + branches: + - rel-3.3 +jobs: + merge-rel-4-0-with-rel-3-3: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: rel-4.0 + - name: Reset promotion branch + run: | + git fetch origin rel-3.3:rel-3.3 + git reset --hard rel-3.3 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + branch: auto-merge/rel-3-3/${{github.run_number}} + title: Merge branch rel-4.0 with rel-3.3 + body: This PR generated automatically to merge rel-4.0 with rel-3.3. Please review the changed files before merging to prevent any errors that may occur. + reviewers: ${{github.actor}} + token: ${{ github.token }}