Skip to content

Commit

Permalink
fix: remove watch repository (#8)
Browse files Browse the repository at this point in the history
it requires the `notification` scope people might not feel comfortable with granting that to a repository setup script
  • Loading branch information
gr2m authored Mar 5, 2021
1 parent ae341df commit 33bb493
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/create-repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,5 @@ export default async function createRepository(
names: ["octoherd-script"],
});

// watch the repository
await octokit.request("PUT /repos/{owner}/{repo}/subscription", {
owner,
repo,
subscribed: true,
});

return repositoryResponse;
}

0 comments on commit 33bb493

Please sign in to comment.