File tree 1 file changed +1
-2
lines changed 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -108,15 +108,14 @@ steps:
108
108
109
109
- script : node ./ci/check-downgrading.js --task "$(task_pattern_fordowngradingcheck)" --sprint $(currentSprint) --week $(currentSprintWeek)
110
110
displayName : Check for downgrading tasks
111
- # remove SourceBranch condition after merging users/merlynop/node20merge-2 ; see https://github.com/microsoft/azure-pipelines-tasks/pull/20819
112
111
condition : |
113
112
and(
114
113
succeeded(),
115
114
ne(variables['numTasksForDowngradingCheck'], 0),
116
115
ne(variables['COURTESY_PUSH'], 'true'),
117
116
eq(variables['build.reason'], 'PullRequest'),
118
117
eq(variables['System.PullRequest.TargetBranch'], 'master'),
119
- ne( variables['System.PullRequest.SourceBranch'], 'users/merlynop/node20merge-2' )
118
+ not(contains( variables['BRANCH_EXCLUDED_FROM_VERSION_CHECK'], variables[' System.PullRequest.SourceBranch']) )
120
119
)
121
120
122
121
# Clean
You can’t perform that action at this time.
0 commit comments