From 42d1948ee37631ff605c4d89a80ae5e21430b746 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 22 Oct 2024 12:20:37 +1300 Subject: [PATCH] FIX Check workflow is active --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdf20bd..b16d9d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"