File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,16 @@ jobs:
84
84
git add ${{ env.KUBERNETES_MANIFEST_FILE_PATH }}
85
85
git commit -m "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE" || true
86
86
git push origin $AUTOMATED_RELEASE_BRANCH
87
+
88
+ PR_TITLE="ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE"
89
+ if [ ${{ github.event_name }} == 'release' ]; then
90
+ PR_TITLE="ci(${{ github.ref_name }}): $KUBERNETES_POD_NEW_IMAGE"
91
+ fi
87
92
88
93
gh pr create \
89
94
--base dev \
90
95
--head $AUTOMATED_RELEASE_BRANCH \
91
- --title "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE " \
96
+ --title "$PR_TITLE " \
92
97
--body "Automated release for ${{ github.event.repository.name }}: $KUBERNETES_POD_NEW_IMAGE:${{ env.IMAGE_TAG }}" \
93
98
--draft \
94
99
--repo ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }} || true
You can’t perform that action at this time.
0 commit comments