caas-team / GoKubeDownscaler

A horizontal autoscaler for Kubernetes workloads
GNU General Public License v3.0
9 stars 4 forks source link

fix: let workflow not trigger on labels #58

Closed JTaeuber closed 2 months ago

JTaeuber commented 2 months ago

Motivation

The check for release workflow triggered the warning message multiple times when you created labels beforehand.

Changes

Changed the if check for the job.

Tests done

I tested this here. Now it always adds the needs approval label if it was removed without writing the message again for labeling and unlabeling.