File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 70
70
-r ${{ env.AZURE_CONTAINER_REGISTRY }} \
71
71
-t ${{ env.IMAGE_TAG }}
72
72
73
- - name : Commit changes
73
+ - name : Perform Git Operations
74
74
shell : bash
75
75
run : |
76
76
AUTOMATED_RELEASE_BRANCH="automated-release-${{ github.event_name == 'release' && 'prod' || 'dev' }}"
81
81
82
82
git add ${{ env.KUBERNETES_MANIFEST_FILE_PATH }}
83
83
git commit -m "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE"
84
- git push origin $AUTOMATED_RELEASE_BRANCH
84
+ git push origin $AUTOMATED_RELEASE_BRANCH
85
+
86
+ gh pr create \
87
+ --base dev \
88
+ --head $AUTOMATED_RELEASE_BRANCH \
89
+ --title "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE" \
90
+ --body "Automated release for ${{ github.event.repository.name }}: $KUBERNETES_POD_NEW_IMAGE" \
91
+ --assignee ${{ github.repository_owner }}/devops-admin \
92
+ --draft \
93
+ --repo ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }} || true
You can’t perform that action at this time.
0 commit comments