Skip to content

Commit ef12423

Browse files
committed
update template manager to point to DefangSamples
1 parent b22bae9 commit ef12423

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/template-manager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = async ({ github, context, core }) => {
6161
throw new Error(`exec error: ${err}`);
6262
}
6363

64-
const repos = await getAllReposForOrg('DefangLabs');
64+
const repos = await getAllReposForOrg('DefangSamples');
6565
const repoNames = repos.map(r => r.name);
6666
console.log('@@ repos: ', repoNames);
6767

@@ -71,7 +71,7 @@ module.exports = async ({ github, context, core }) => {
7171
for (const sample of modifiedSamples) {
7272
const templateRepoName = `sample-${sample}-template`;
7373

74-
const authedRemote = `https://x-access-token:${process.env.PUSH_TOKEN}@github.com/DefangLabs/${templateRepoName}.git`
74+
const authedRemote = `https://x-access-token:${process.env.PUSH_TOKEN}@github.com/DefangSamples/${templateRepoName}.git`
7575
const splitBranch = sample;
7676

7777
const isNew = !repoNames.includes(templateRepoName);
@@ -90,7 +90,7 @@ module.exports = async ({ github, context, core }) => {
9090
console.log(`Creating template repo: ${templateRepoName}`);
9191
await github.rest.repos.createInOrg({
9292
name: templateRepoName,
93-
org: 'DefangLabs',
93+
org: 'DefangSamples',
9494
private: false,
9595
is_template: true,
9696
});

0 commit comments

Comments
 (0)