-
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 #16249 from abpframework/update-auto-pr-7.2
update auto-pr for 7.2
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 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,30 +1,30 @@ | ||
name: Merge branch rel-7.2 with rel-7.1 | ||
name: Merge branch dev with rel-7.2 | ||
on: | ||
push: | ||
branches: | ||
- rel-7.1 | ||
- rel-7.2 | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
merge-rel-7-2-with-rel-7-1: | ||
merge-dev-with-rel-7-2: | ||
permissions: | ||
contents: write # for peter-evans/create-pull-request to create branch | ||
pull-requests: write # for peter-evans/create-pull-request to create a PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: rel-7.2 | ||
ref: dev | ||
- name: Reset promotion branch | ||
run: | | ||
git fetch origin rel-7.1:rel-7.1 | ||
git reset --hard rel-7.1 | ||
git fetch origin rel-7.2:rel-7.2 | ||
git reset --hard rel-7.2 | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
branch: auto-merge/rel-7-1/${{github.run_number}} | ||
title: Merge branch rel-7.2 with rel-7.1 | ||
body: This PR generated automatically to merge rel-7.2 with rel-7.1. Please review the changed files before merging to prevent any errors that may occur. | ||
branch: auto-merge/rel-7-2/${{github.run_number}} | ||
title: Merge branch dev with rel-7.2 | ||
body: This PR generated automatically to merge dev with rel-7.2. Please review the changed files before merging to prevent any errors that may occur. | ||
reviewers: ${{github.actor}} | ||
token: ${{ github.token }} |