From ad183814fe7b1f298a1f19bf222a4f8cd8a844b0 Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Wed, 13 Sep 2023 07:49:48 -0700 Subject: [PATCH] Fix Workflow Signed-off-by: Prudhvi Godithi --- .github/workflows/os-release-issues.yml | 6 +++++- .github/workflows/osd-release-issues.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/os-release-issues.yml b/.github/workflows/os-release-issues.yml index b5d407ce1f..4f1a012a11 100644 --- a/.github/workflows/os-release-issues.yml +++ b/.github/workflows/os-release-issues.yml @@ -97,7 +97,11 @@ jobs: # Read the file contents and replace the placeholders file_path="../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md" RELEASE_VERSION="${{ matrix.release_version }}" - RELEASE_ISSUE_NUMBER=$(echo '${{ steps.check_if_build_repo_issue_exists.outputs.issues }}' | jq '.[0].number') + BUILD_REPO_ISSUE_OUTPUT=$(cat < "$file_path.tmp" && mv "$file_path.tmp" "$file_path" diff --git a/.github/workflows/osd-release-issues.yml b/.github/workflows/osd-release-issues.yml index 866e57ab4f..1a81fcd977 100644 --- a/.github/workflows/osd-release-issues.yml +++ b/.github/workflows/osd-release-issues.yml @@ -92,7 +92,11 @@ jobs: # Read the file contents and replace the placeholders file_path="../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md" RELEASE_VERSION="${{ matrix.release_version }}" - RELEASE_ISSUE_NUMBER=$(echo '${{ steps.check_if_build_repo_issue_exists.outputs.issues }}' | jq '.[0].number') + BUILD_REPO_ISSUE_OUTPUT=$(cat < "$file_path.tmp" && mv "$file_path.tmp" "$file_path"