This commit is contained in:
garronej 2021-12-01 13:39:57 +01:00
commit 5297ab00ab
54 changed files with 18162 additions and 0 deletions

View file

@ -0,0 +1,23 @@
import { getCommonOriginFactory } from "../../octokit-addons/getCommonOrigin";
import { Octokit } from "@octokit/rest";
(async function () {
const octokit = new Octokit();
const { getCommonOrigin } = getCommonOriginFactory({ octokit });
const { sha } = await getCommonOrigin({
"owner": "garronej",
"repo": "test-repo",
"branch1": "master",
"branch2": "garronej-patch-1"
});
console.log({ sha });
})();