From 751fe0d92c1389ea2236fa6dac584f9065985251 Mon Sep 17 00:00:00 2001 From: Victor Alfaro Date: Fri, 29 Nov 2024 12:00:55 -0600 Subject: [PATCH] Fix to use correct format for release label 'Release : YY.MM.DD' --- .github/workflows/issue_comp_release-labeling.yml | 13 ++++++++++++- .../legacy-release_maven-release-process.yml | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue_comp_release-labeling.yml b/.github/workflows/issue_comp_release-labeling.yml index 0ac34b46cab3..6dadeff42afc 100644 --- a/.github/workflows/issue_comp_release-labeling.yml +++ b/.github/workflows/issue_comp_release-labeling.yml @@ -15,6 +15,11 @@ on: description: 'New label' type: string required: true + new_label_color: + description: 'New label color' + type: string + required: false + default: '#fbca04' workflow_dispatch: inputs: rename_label: @@ -26,6 +31,11 @@ on: description: 'New label' type: string required: true + new_label_color: + description: 'New label color' + type: string + required: false + default: '#fbca04' jobs: release-labeling: @@ -78,7 +88,8 @@ jobs: owner: '${{ github.repository_owner }}', repo: '${{ env.REPO }}', name: renameLabel.name, - new_name: '${{ inputs.new_label }}' + new_name: '${{ inputs.new_label }}', + color: '${{ inputs.new_label_color }}' }); - name: Re-Create New Label diff --git a/.github/workflows/legacy-release_maven-release-process.yml b/.github/workflows/legacy-release_maven-release-process.yml index 9228455be52d..325c03d8857c 100644 --- a/.github/workflows/legacy-release_maven-release-process.yml +++ b/.github/workflows/legacy-release_maven-release-process.yml @@ -379,7 +379,7 @@ jobs: if: success() && github.event.inputs.update_github_labels == 'true' uses: ./.github/workflows/issue_comp_release-labeling.yml with: - new_label: 'Release ${{ github.event.inputs.release_version }}' + new_label: 'Release : ${{ github.event.inputs.release_version }}' secrets: CI_MACHINE_TOKEN: ${{ secrets.CI_MACHINE_TOKEN }}