From 267c6cd14916e3b45d64c20ba427dee6eee15f6e Mon Sep 17 00:00:00 2001 From: Travis Raines <571832+rainest@users.noreply.github.com> Date: Thu, 8 Dec 2022 12:11:37 -0800 Subject: [PATCH] chore: add pre-flight license check --- .../workflows/integration-test-enterprise.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/integration-test-enterprise.yaml b/.github/workflows/integration-test-enterprise.yaml index 0c0c4aced..c10bd3cf7 100644 --- a/.github/workflows/integration-test-enterprise.yaml +++ b/.github/workflows/integration-test-enterprise.yaml @@ -10,8 +10,25 @@ on: - '*' jobs: + secret-available: + outputs: + ok: ${{ steps.exists.outputs.ok }} + runs-on: ubuntu-latest + env: + PULP_PASSWORD: ${{ secrets.PULP_PASSWORD }} + steps: + - name: check for secret availability + id: exists + run: | + if [ ! -z "$PULP_PASSWORD" ]; then + echo "ok=true" >> $GITHUB_OUTPUT + fi + test-enterprise: continue-on-error: true + needs: + - secret-available + if: needs.secret-available.outputs.ok == 'true' strategy: matrix: kong_version: