Skip to content

Commit

Permalink
Fix to use correct format for release label 'Release : YY.MM.DD' (#30813
Browse files Browse the repository at this point in the history
)
  • Loading branch information
victoralfaro-dotcms authored Nov 29, 2024
1 parent 0e452b8 commit 3dd6041
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/issue_comp_release-labeling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/legacy-release_maven-release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 3dd6041

Please sign in to comment.