Skip to content

Commit 27d3d9c

Browse files
committed
Do not report back to GitHub with the PR buildeers
It seems that the PR builders can get confused if a pull requests contains commits of another pull request when ussing the `test-with-buildbots` label. For instance, this PR: python/cpython#20006 included messages that report to a commit that lives in another PR where the label was added. To avoid this, exclude the PR builders from the GitHub notification system.
1 parent f2ed88c commit 27d3d9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

master/master.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,6 @@ for name, worker, buildfactory, stability in BUILDERS:
312312
)
313313
)
314314

315-
github_status_builders.extend(pull_request_builders)
316-
317315
c["schedulers"].append(
318316
AnyBranchScheduler(
319317
name="pull-request-scheduler",
@@ -411,7 +409,7 @@ if bool(settings.irc_notice):
411409
c["services"].append(
412410
reporters.GitHubStatusPush(
413411
str(settings.github_status_token),
414-
builders=github_status_builders,
412+
builders=github_status_builders + pull_request_builders,
415413
verbose=bool(settings.verbosity),
416414
)
417415
)

0 commit comments

Comments
 (0)