From ac995b463af718fe0205c68aa01e0cda127fc3f5 Mon Sep 17 00:00:00 2001 From: Ilona Shishov Date: Wed, 6 Mar 2024 11:40:44 +0200 Subject: [PATCH] chore: upgrade changelog notes injection process in staging workflow Signed-off-by: Ilona Shishov --- .github/workflows/stage.yml | 10 ++++++++++ CHANGELOG.md | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 5183a503d..9c78add5b 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -88,7 +88,17 @@ jobs: else echo "version=$version" >> "$GITHUB_OUTPUT" + notes="${notes//$' '/%20}" + notes="${notes//$'\"'/%22}" + notes="${notes//$'&'/%26}" + notes="${notes//$'+'/%2B}" + notes="${notes//$'#'/%23}" + notes="${notes//$'/'/%2F}" + notes="${notes//$'\''/%27}" notes="${notes//$'`'/%60}" + notes="${notes//'%'/'%25'}" + notes="${notes//$'\n'/'%0A'}" + notes="${notes//$'\r'/'%0D'}" delimiter="$(openssl rand -hex 8)" echo "notes<<${delimiter}" >> "$GITHUB_OUTPUT" echo "## Changelog" >> "$GITHUB_OUTPUT" diff --git a/CHANGELOG.md b/CHANGELOG.md index b6c492fde..5257cedf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ - enhancement - Integrated VS Code's [Secret Storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) feature for securing the Snyk token. See [PR689](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/689) for details. - fixes - Fixed an issue with displaying wrong data when the event handler for Component Analysis was triggered on a unsaved manifest file. Component Analysis is no longer triggered on unsaved manifest files. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details. - fixes - Fixed an issue where the diagnostic source name is being obscured in the View Problem panel from an inline analysis. See [PR#239](https://github.com/fabric8-analytics/fabric8-analytics-lsp-server/pull/239) for details. -- informational - The naming convention for VS Code commands has changed from `fabric8` to `rhda`. For example, `fabric8.stackAnalysis` is now `rhda.stackAnalysis`. ## 0.9.2 (Feb 5th 2024) - informational - The `redHatDependencyAnalyticsReportFilePath` setting name has changed to `reportFilePath`. If you had a custom file path set for `redHatDependencyAnalyticsReportFilePath`, then you need to add your custom file path to the `reportFilePath` setting. - enhancement - Added a vulnerability severity alert level setting for the user to receive inline notifications for just errors or warnings. See [PR#674](https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/674) for details.