[wpt-sync] Sync PR 20211 - taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v2)
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox72 fixed)
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20211 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20211
Details from upstream follow.
Carlos Alberto Lopez Perez <clopez@igalia.com> wrote:
taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v2)
taskcluster: ensure data.metadata.owner is a valid e-mail on push event (v2)
When the push event comes from a github action, event.pusher.email
seems to be invalid, which causes a fatal error on taskcluster.Previous attempt to fix this (0317a96431) has not worked because
event.pusher.email is not defined for github actions and its unknown
if event.pusher.name is.Try to fix it this time by defaulting the mail in all cases to
${event.sender.login}@users.noreply.github.com which according to
the GitHub API documentation examples should be always defined
(hopefully that will be also true for github actions).Related issue: #20106
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
bugherder |
Description
•