Skip to content

Commit 861564e

Browse files
committed
fix delete
1 parent afd5032 commit 861564e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/uffizzi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
After updating your kubeconfig, you can manage your cluster with `kubectl`
161161
edit-mode: replace
162162

163-
- if: ${{ github.event_name != 'pull_request' || github.event.action == 'closed' }}
163+
- if: ${{ github.event.action == 'closed' }}
164164
name: Delete ucluster
165165
uses: UffizziCloud/cluster-action@main
166166
with:
@@ -170,7 +170,7 @@ jobs:
170170

171171
- name: Update Comment with Deletion
172172
uses: peter-evans/create-or-update-comment@v2
173-
if: ${{ github.event_name != 'pull_request' || github.event.action == 'closed' }}
173+
if: ${{ github.event.action == 'closed' }}
174174
with:
175175
comment-id: ${{ steps.find-comment.outputs.comment-id }}
176176
issue-number: ${{ env.PR_NUMBER }}

0 commit comments

Comments
 (0)