Skip to content

Commit

Permalink
Update auto-pr.yml for rel-5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
maliming authored Jan 11, 2022
1 parent 0fedfe5 commit 0999db8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Merge branch dev with rel-5.0
name: Merge branch dev with rel-5.1
on:
push:
branches:
- rel-5.0
- rel-5.1
jobs:
merge-dev-with-rel-5-0:
merge-dev-with-rel-5-1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
- name: Reset promotion branch
run: |
git fetch origin rel-5.0:rel-5.0
git reset --hard rel-5.0
git fetch origin rel-5.1:rel-5.1
git reset --hard rel-5.1
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: auto-merge/rel-5-0/${{github.run_number}}
title: Merge branch dev with rel-5.0
body: This PR generated automatically to merge dev with rel-5.0. Please review the changed files before merging to prevent any errors that may occur.
branch: auto-merge/rel-5-1/${{github.run_number}}
title: Merge branch dev with rel-5.1
body: This PR generated automatically to merge dev with rel-5.1. Please review the changed files before merging to prevent any errors that may occur.
reviewers: ${{github.actor}}
token: ${{ github.token }}

0 comments on commit 0999db8

Please sign in to comment.