You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR_TITLE: Merge branch '${{ github.head_ref }}' into ${{ env.BRANCH_DEVELOP }}
65
65
PR_BODY: |
66
-
This PR merges the ${{ github.head_ref }} branch back into ${{ env.BRANCH_DEVELOP }} branch.
67
-
This happens to ensure that the updates that happened on the ${{ github.head_ref }} branch, i.e. CHANGELOG and manifest updates are also present on the ${{ env.BRANCH_DEVELOP }} branch.
66
+
This PR merges the branch `${{ github.head_ref }}` back into the branch `${{ env.BRANCH_DEVELOP }}`.
67
+
68
+
This ensures that the updates on the branch `${{ github.head_ref }}`, i.e. CHANGELOG and manifest updates, are also present on the branch `${{ env.BRANCH_DEVELOP }}`.
68
69
PR_LABEL: automated-pr
69
70
run: |
70
71
gh label create ${{ env.PR_LABEL }} --force
72
+
71
73
gh pr create \
72
74
--base ${{ env.BRANCH_DEVELOP }} \
73
75
--head ${{ github.head_ref }} \
74
76
--title "${{ env.PR_TITLE }}" \
75
77
--body "${{ env.PR_BODY }}" \
76
78
--label "${{ env.PR_LABEL }}" \
77
79
--fill
80
+
81
+
PR_ID=$(gh pr list --state open --search "base:${{ env.BRANCH_DEVELOP }} head:${{ github.head_ref }}" | head -1 | cut -f1)
0 commit comments