Skip to content

Commit

Permalink
Remove duplicate part in branch name when running automations (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazhelez authored Jan 3, 2025
1 parent b9c9eb8 commit c08be10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/RunAutomation/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function OpenPR {

$shortTargetBranch = $TargetBranch -replace 'releases/',''
$Category = "$shortTargetBranch/$Category".ToLower().Replace(' ', '_')
$branch = New-TopicBranchIfNeeded -Category "$shortTargetBranch/$Category" -Repository $Repository
$branch = New-TopicBranchIfNeeded -Category $Category -Repository $Repository

# Open PR with a commit for each update
$prDescription = "This PR contains the following changes:"
Expand Down

0 comments on commit c08be10

Please sign in to comment.