From: David NĂ©grier <d.negrier@thecodingmachine.com>
Date: Wed, 27 May 2020 21:20:12 +0000 (+0200)
Subject: Trying to trigger delete on correct branch
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9dd5657148ad4db8610c57a1c19dba5c5dee9ea6;p=libreadventure.git

Trying to trigger delete on correct branch
---

diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
index 919d685..bb6bcc8 100644
--- a/.github/workflows/cleanup.yml
+++ b/.github/workflows/cleanup.yml
@@ -21,4 +21,6 @@ jobs:
         env:
           KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
         with:
-          namespace: workadventure-${{ env.GITHUB_REF_SLUG }}
+# FIXME: we are not using ${{ env.GITHUB_REF_SLUG }} that resolves to master BUT! we are not using a slugified namespace
+# so complex namespace names will not be treated correctly
+          namespace: workadventure-${{ github.event.ref }}