Skip to content

Commit 75b2158

Browse files
authored
Do not report back to GitHub with the PR buildeers (#193)
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 37a4677 commit 75b2158

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
@@ -320,8 +320,6 @@ for name, worker, buildfactory, stability in BUILDERS:
320320
)
321321
)
322322

323-
github_status_builders.extend(pull_request_builders)
324-
325323
c["schedulers"].append(
326324
AnyBranchScheduler(
327325
name="pull-request-scheduler",
@@ -419,7 +417,7 @@ if bool(settings.irc_notice):
419417
c["services"].append(
420418
reporters.GitHubStatusPush(
421419
str(settings.github_status_token),
422-
builders=github_status_builders,
420+
builders=github_status_builders + pull_request_builders,
423421
verbose=bool(settings.verbosity),
424422
)
425423
)

0 commit comments

Comments
 (0)