From e9f779ecb30f2c949896e06c18bab38ea1ddf675 Mon Sep 17 00:00:00 2001 From: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> Date: Wed, 8 Dec 2021 08:40:13 -0800 Subject: [PATCH] Exclude browser stability tests for exports from that specific browser #31898 (username update) (#31941) --- tools/ci/tc/decision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci/tc/decision.py b/tools/ci/tc/decision.py index 2dedbb125626ca..0b9df1a90bd0c5 100644 --- a/tools/ci/tc/decision.py +++ b/tools/ci/tc/decision.py @@ -105,9 +105,9 @@ def filter_jobs(jobs, event): # Exclude browser stability tests for exports from that specific browser. try: - if event["sender"]["login"] == "chromium-wpt-export-bot": + if event["pull_request"]["user"]["login"] == "chromium-wpt-export-bot": jobs.discard("wpt-chrome-dev-stability") - if event["sender"]["login"] == "moz-wptsync-bot": + if event["pull_request"]["user"]["login"] == "moz-wptsync-bot": jobs.discard("wpt-firefox-nightly-stability") except KeyError: # Just continue if the username cannot be pulled from the event.