File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11
11
workflow_dispatch :
12
12
13
13
env :
14
- DEV_BRANCH : develop
14
+ SOURCE_BRANCH : master
15
+ TARGET_BRANCH : develop
15
16
16
17
jobs :
17
18
main :
29
30
id : open-pr
30
31
uses : repo-sync/pull-request@v2
31
32
with :
32
- destination_branch : ${{ env.DEV_BRANCH }}
33
- pr_title : ' [Gitflow] Merge ${{ github.ref_name }} into ${{ env.DEV_BRANCH }}'
34
- pr_body : ' Merge ${{ github.ref_name }} branch into ${{ env.DEV_BRANCH }}'
33
+ source_branch : ${{ env.SOURCE_BRANCH }}
34
+ destination_branch : ${{ env.TARGET_BRANCH }}
35
+ pr_title : ' [Gitflow] Merge ${{ env.SOURCE_BRANCH }} into ${{ env.TARGET_BRANCH }}'
36
+ pr_body : ' Merge ${{ env.SOURCE_BRANCH }} branch into ${{ env.TARGET_BRANCH }}'
35
37
pr_label : ' Dev: Gitflow'
36
38
37
39
# https://github.com/marketplace/actions/enable-pull-request-automerge
Original file line number Diff line number Diff line change 13
13
workflow_dispatch :
14
14
15
15
env :
16
- MAIN_BRANCH : master
16
+ SOURCE_BRANCH : develop
17
+ TARGET_BRANCH : master
17
18
18
19
jobs :
19
20
main :
31
32
id : open-pr
32
33
uses : repo-sync/pull-request@v2
33
34
with :
34
- destination_branch : ${{ env.MAIN_BRANCH }}
35
- pr_title : ' [Gitflow] Merge ${{ github.ref_name }} into ${{ env.MAIN_BRANCH }}'
36
- pr_body : ' Merge ${{ github.ref_name }} branch into ${{ env.MAIN_BRANCH }}'
35
+ source_branch : ${{ env.SOURCE_BRANCH }}
36
+ destination_branch : ${{ env.TARGET_BRANCH }}
37
+ pr_title : ' [Gitflow] Merge ${{ env.SOURCE_BRANCH }} into ${{ env.TARGET_BRANCH }}'
38
+ pr_body : ' Merge ${{ env.SOURCE_BRANCH }} branch into ${{ env.TARGET_BRANCH }}'
37
39
pr_label : ' Dev: Gitflow'
38
40
39
41
# https://github.com/marketplace/actions/enable-pull-request-automerge
You can’t perform that action at this time.
0 commit comments