Skip to content

Commit a16e69d

Browse files
committed
perf: ignore empty commits in k8s_edit
1 parent c926e03 commit a16e69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/k8s_edit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
6969
git fetch origin
7070
git checkout $AUTOMATED_RELEASE_BRANCH || git checkout -b $AUTOMATED_RELEASE_BRANCH
71-
71+
7272
bash cicd-deployment-scripts-self-hosted/k8s/edit.sh \
7373
-n ${{ env.KUBERNETES_NAMESPACE }} \
7474
-d ${{ github.event.repository.name }} \
@@ -77,7 +77,7 @@ jobs:
7777
-t ${{ env.IMAGE_TAG }}
7878
7979
git add ${{ env.KUBERNETES_MANIFEST_FILE_PATH }}
80-
git commit -m "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE"
80+
git commit -m "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE" || true
8181
git push origin $AUTOMATED_RELEASE_BRANCH
8282
8383
gh pr create \

0 commit comments

Comments
 (0)