forked from abpframework/abp
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 991 Bytes
/
auto-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Merge branch dev with rel-7.3
on:
push:
branches:
- rel-7.3
permissions:
contents: read
jobs:
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: dev
- name: Reset promotion branch
run: |
git fetch origin rel-7.3:rel-7.3
git reset --hard rel-7.3
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: auto-merge/rel-7-3/${{github.run_number}}
title: Merge branch dev with rel-7.3
body: This PR generated automatically to merge dev with rel-7.3. Please review the changed files before merging to prevent any errors that may occur.
reviewers: ${{github.actor}}
token: ${{ github.token }}