From 27d3d9c946b73959ee0aeb97a3ecc9a12ef12eee Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 11 May 2020 23:20:09 +0100 Subject: [PATCH] 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: https://github.com/python/cpython/pull/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. --- master/master.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/master/master.cfg b/master/master.cfg index 69bc22769..94bfbf4a7 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -312,8 +312,6 @@ for name, worker, buildfactory, stability in BUILDERS: ) ) -github_status_builders.extend(pull_request_builders) - c["schedulers"].append( AnyBranchScheduler( name="pull-request-scheduler", @@ -411,7 +409,7 @@ if bool(settings.irc_notice): c["services"].append( reporters.GitHubStatusPush( str(settings.github_status_token), - builders=github_status_builders, + builders=github_status_builders + pull_request_builders, verbose=bool(settings.verbosity), ) )