Add temporary git logging
This commit is contained in:
parent
12cf156af3
commit
0656ef778b
@ -64,6 +64,8 @@ export default async function AdminAppInsights() {
|
|||||||
hasVercelBlobStorage,
|
hasVercelBlobStorage,
|
||||||
} = APP_CONFIGURATION;
|
} = APP_CONFIGURATION;
|
||||||
|
|
||||||
|
console.log('codeMeta', { codeMeta });
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AdminAppInsightsClient
|
<AdminAppInsightsClient
|
||||||
codeMeta={codeMeta}
|
codeMeta={codeMeta}
|
||||||
|
|||||||
@ -92,6 +92,7 @@ export const getLatestBaseRepoCommitSha = async () => {
|
|||||||
const getIsRepoForkedFromBase = async (params: RepoParams) => {
|
const getIsRepoForkedFromBase = async (params: RepoParams) => {
|
||||||
const response = await fetch(getGitHubApiRepoUrl(params), FETCH_CONFIG);
|
const response = await fetch(getGitHubApiRepoUrl(params), FETCH_CONFIG);
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
console.log('getIsRepoForkedFromBase', { data });
|
||||||
return (
|
return (
|
||||||
Boolean(data.fork) &&
|
Boolean(data.fork) &&
|
||||||
data.source?.full_name === `${TEMPLATE_REPO_OWNER}/${TEMPLATE_REPO_NAME}`
|
data.source?.full_name === `${TEMPLATE_REPO_OWNER}/${TEMPLATE_REPO_NAME}`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user