Update syncing script to be able to build binary for commit set with owned commits.
[WebKit.git] / Websites / perf.webkit.org / public / v3 / models / triggerable.js
index 3ea8e21..3cb0f37 100644 (file)
@@ -65,8 +65,7 @@ class TriggerableRepositoryGroup extends LabeledObject {
 
     accepts(commitSet)
     {
-        // FIXME: Add a check for patch.
-        const commitSetRepositories = Repository.sortByNamePreferringOnesWithURL(commitSet.repositories());
+        const commitSetRepositories = commitSet.topLevelRepositories();
         if (this._repositories.length != commitSetRepositories.length)
             return false;
         for (let i = 0; i < this._repositories.length; i++) {