From cc4767cdbb0b0e725e624ddc003f8246939cad3f Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 17 Oct 2024 18:55:17 +1300 Subject: [PATCH] FIX Check workflow is active --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdf20bd..dd7bf4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -171,7 +171,7 @@ jobs: options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=10 env: - artifacts_name: ${{ matrix.name }} + artifacts_name: ${{ matrix.artifacts_name }} name: ${{ matrix.name }} @@ -1070,7 +1070,7 @@ jobs: fi FOUND_WORKFLOW=0 - WORKFLOWS=$(jq -r '.workflows[].path' __response.json) + WORKFLOWS=$(jq -r '.workflows[] | select(.state == "active") | .path' __response.json) while IFS= read -r WORKFLOW_PATH; do if [[ "$WORKFLOW_PATH" == ".github/workflows/tag-patch-release.yml" ]]; then echo "Found tag-patch-release.yml"