From 5895abf4955a1be575a1f056358fbf93d6b827ac Mon Sep 17 00:00:00 2001 From: Alexander Lakhin Date: Wed, 14 May 2025 11:31:44 +0300 Subject: [PATCH] Allow for adding optional postfix to allure report name --- .github/actions/allure-report-generate/action.yml | 2 +- .github/actions/allure-report-store/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/allure-report-generate/action.yml b/.github/actions/allure-report-generate/action.yml index fca6a0cfa5..ffb60ff054 100644 --- a/.github/actions/allure-report-generate/action.yml +++ b/.github/actions/allure-report-generate/action.yml @@ -43,7 +43,7 @@ runs: BUCKET: neon-github-public-dev run: | if [ -n "${PR_NUMBER}" ]; then - BRANCH_OR_PR=pr-${PR_NUMBER} + BRANCH_OR_PR=pr-${PR_NUMBER}${REPORT_EXT-} elif [ "${GITHUB_REF_NAME}" = "main" ] || [ "${GITHUB_REF_NAME}" = "release" ] || \ [ "${GITHUB_REF_NAME}" = "release-proxy" ] || [ "${GITHUB_REF_NAME}" = "release-compute" ]; then # Shortcut for special branches diff --git a/.github/actions/allure-report-store/action.yml b/.github/actions/allure-report-store/action.yml index 2844344739..babdf0edd4 100644 --- a/.github/actions/allure-report-store/action.yml +++ b/.github/actions/allure-report-store/action.yml @@ -23,7 +23,7 @@ runs: REPORT_DIR: ${{ inputs.report-dir }} run: | if [ -n "${PR_NUMBER}" ]; then - BRANCH_OR_PR=pr-${PR_NUMBER} + BRANCH_OR_PR=pr-${PR_NUMBER}${REPORT_EXT-} elif [ "${GITHUB_REF_NAME}" = "main" ] || [ "${GITHUB_REF_NAME}" = "release" ] || \ [ "${GITHUB_REF_NAME}" = "release-proxy" ] || [ "${GITHUB_REF_NAME}" = "release-compute" ]; then # Shortcut for special branches