8000 [ews-build.webkit.org] Convert RemoveLabelsFromPullRequest to new style · WebKit/WebKit@7e9c19c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e9c19c

Browse files
committed
[ews-build.webkit.org] Convert RemoveLabelsFromPullRequest to new style
https://bugs.webkit.org/show_bug.cgi?id=251179 rdar://104669946 Reviewed by Aakash Jain. * Tools/CISupport/ews-build/steps.py: (RemoveLabelsFromPullRequest.run): Renamed from 'start', return step status. (RemoveLabelsFromPullRequest.start): Renamed to 'run'. Canonical link: https://commits.webkit.org/259394@main
1 parent 5bb44c8 commit 7e9c19c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Tools/CISupport/ews-build/steps.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,15 +1987,13 @@ class RemoveLabelsFromPullRequest(buildstep.BuildStep, GitHubMixin, AddToLogMixi
19871987
GitHubMixin.REQUEST_MERGE_QUEUE_LABEL,
19881988
]
19891989

1990-
def start(self):
1990+
def run(self):
19911991
pr_number = self.getProperty('github.number', '')
19921992

19931993
repository_url = self.getProperty('repository', '')
1994-
rc = SUCCESS
19951994
if not self.remove_labels(pr_number, self.LABELS_TO_REMOVE, repository_url=repository_url):
1996-
rc = FAILURE
1997-
self.finished(rc)
1998-
return None
1995+
return FAILURE
1996+
return SUCCESS
19991997

20001998
def getResultSummary(self):
20011999
if self.results == SUCCESS:

0 commit comments

Comments
 (0)
0