We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef83fb6 commit 7c12bc5Copy full SHA for 7c12bc5
.github/workflows/gitflow-sync-master.yml
@@ -8,6 +8,7 @@ on:
8
9
env:
10
MAIN_BRANCH: master
11
+ HEAD_COMMIT: ${{ github.event.inputs.commit || github.sha }}
12
13
jobs:
14
main:
@@ -28,9 +29,10 @@ jobs:
28
29
id: open-pr
30
uses: repo-sync/pull-request@v2
31
with:
32
+ source_branch: ${{ env. HEAD_COMMIT }}
33
destination_branch: ${{ env.MAIN_BRANCH }}
- pr_title: '[Gitflow] Merge ${{ github.ref_name }} into ${{ env.MAIN_BRANCH }}'
- pr_body: 'Merge ${{ github.ref_name }} branch into ${{ env.MAIN_BRANCH }}'
34
+ pr_title: '[Gitflow] Merge #${{ env.HEAD_COMMIT }} into ${{ env.MAIN_BRANCH }}'
35
+ pr_body: 'Merge #${{ env.HEAD_COMMIT }} branch into ${{ env.MAIN_BRANCH }}'
36
pr_label: 'Dev: Gitflow'
37
38
# https://github.com/marketplace/actions/enable-pull-request-automerge
0 commit comments