Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/script/PrLabeled.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ Write-Host "Processing PR $PrUrl with label $LabelName"

$CommentDict = @{
"DO NOT SQUASH :no_entry_sign:" = @"
‼️ Please merge this PR with commits! You can enable this option in the setting page.
‼️ Remember close that option after merging this PR!
‼️ Do NOT use squash to merge this pull request. All the commits must be merged to the target branch.
‼️ Enable "Allow merge commits" in the pull request settings. Select "Merge Commits" to merge the PR. Then go back to settings and disable the option.
"@
"Do Not Merge :no_entry_sign:" = @"
‼️ DO NOT MERGE THIS PR ‼️
This PR was labeled "Do Not Merge" because it contains code change that cannot be merged. Please contact the reviewer for more information.
"@
"Breaking Change Release" = @"
To PR author,
To the author of the pull request,
This PR was labeled "Breaking Change Release" because it contains breaking changes.
According to our [policy](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/breaking-change/breaking-changes-policy), breaking changes can only take place during major release and must be preannounced.
According to our [policy](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/breaking-change/breaking-changes-policy), breaking changes can only take place during major release and they must be preannounced.
Please follow our [guide](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/breaking-change/breaking-changes-process) on the detailed steps.
"@
"needs-revision" = @"
Expand Down Expand Up @@ -67,4 +68,4 @@ if ($CommentDict.ContainsKey($LabelName)) {
Write-Host "Failed to add comment: $_"
}
}
}
}