diff --git a/.github/workflows/update-charts.yml b/.github/workflows/update-charts.yml index a19cada3..969f88d3 100644 --- a/.github/workflows/update-charts.yml +++ b/.github/workflows/update-charts.yml @@ -18,10 +18,7 @@ jobs: with: script: | let repository = context.payload.client_payload.repository - if (!repository.endsWith("kubewarden-controller") && \ - !repository.endsWith("policy-server") && \ - !repository.endsWith("kwctl") && \ - !repository.endsWith("audit-scanner")) { + if (!repository.endsWith("kubewarden-controller") && !repository.endsWith("policy-server") && !repository.endsWith("kwctl") && !repository.endsWith("audit-scanner")) { core.setFailed("Invalid repository") }