Skip to content
Permalink
Browse files
[ews-build.webkit.org] Support alternative remotes (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=239617
<rdar://problem/92115230>

Reviewed by Aakash Jain.

* Tools/CISupport/ews-build/events.py:
(GitHubEventHandlerNoEdits.extractProperties): 'project' is not set by extractProperties.

Canonical link: https://commits.webkit.org/250013@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JonWBedard committed Apr 26, 2022
1 parent a41010d commit eaf9feb1eb5ea3f1d91de6075a48a91e417cd272
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
@@ -364,7 +364,7 @@ def _get_pr_files(self, repo, number):

def extractProperties(self, payload):
result = super(GitHubEventHandlerNoEdits, self).extractProperties(payload)
if result.get('project') not in self.PUBLIC_REPOS:
if payload.get('repository', {}).get('full_name') not in self.PUBLIC_REPOS:
for field in self.SENSATIVE_FIELDS:
if field in result:
del result[field]
@@ -1,3 +1,14 @@
2022-04-26 Jonathan Bedard <jbedard@apple.com>

[ews-build.webkit.org] Support alternative remotes (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=239617
<rdar://problem/92115230>

Reviewed by Aakash Jain.

* CISupport/ews-build/events.py:
(GitHubEventHandlerNoEdits.extractProperties): 'project' is not set by extractProperties.

2022-04-26 Jonathan Bedard <jbedard@apple.com>

[git-webkit] Checkout PRs from alternate remotes

0 comments on commit eaf9feb

Please sign in to comment.