Skip to content

Commit 33bb493

Browse files
authored
fix: remove watch repository (#8)
it requires the `notification` scope people might not feel comfortable with granting that to a repository setup script
1 parent ae341df commit 33bb493

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/create-repository.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,5 @@ export default async function createRepository(
3636
names: ["octoherd-script"],
3737
});
3838

39-
// watch the repository
40-
await octokit.request("PUT /repos/{owner}/{repo}/subscription", {
41-
owner,
42-
repo,
43-
subscribed: true,
44-
});
45-
4639
return repositoryResponse;
4740
}

0 commit comments

Comments
 (0)