-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11257 from abpframework/maliming-patch-auto-pr
Update `auto-pr.yml` for `rel-5.1`.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |