Skip to content

Commit 325bc74

Browse files
authored
fix typo (#25563)
1 parent f270d73 commit 325bc74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-main-to-future.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
$commitMessagePatternToIgnore += "^Migrate\s\w+\sfrom\sgeneration\sto\smain"
2424
$commitMessagePatternToIgnore += "^Move\s\w+\sto\smain"
2525
foreach ($pattern in $commitMessagePatternToIgnore) {
26-
if ($commitMessage -match $ignoreCommitPattern) {
26+
if ($commitMessage -match $pattern) {
2727
Write-Host -ForegroundColor DarkGreen "Commit: [$commitMessage], is for gen2main, skip this run ..."
2828
return
2929
}

0 commit comments

Comments
 (0)