fix(backend-github): update Open Authoring branches with no PR (#2618)

This commit is contained in:
Benaiah Mischenko 2019-09-05 14:06:57 -07:00 committed by Shawn Erquhart
parent 65d49dae9a
commit 68170336d5

View File

@ -638,6 +638,11 @@ export default class API {
await this.patchBranch(branchName, commit.sha, { force: true });
}
// Update unpublished entries which don't have a PR. These are
// typically Open Authoring entries that have never been
// submitted for review.
await this.patchBranch(branchName, commit.sha);
return this.storeMetadata(contentKey, updatedMetadata);
}
}