Skip to content

Commit

Permalink
Exclude browser stability tests for exports from that specific browser
Browse files Browse the repository at this point in the history
…#31898 (username update) (#31941)
  • Loading branch information
DanielRyanSmith committed Dec 8, 2021
1 parent 1a00349 commit e9f779e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci/tc/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e9f779e

Please sign in to comment.