Skip to content

Commit

Permalink
feat: disable issues, projects and wiki by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonKhew96 committed Feb 28, 2024
1 parent f973ba1 commit c19db0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion github.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ async function createAndInviteToRepo (token, owner, username, repo) {
try {
await octokit.rest.repos.createInOrg({
org: owner,
name: repo
name: repo,
has_issues: false,
has_projects: false,
has_wiki: false,
})
} catch (err) {
let e = err
Expand Down

0 comments on commit c19db0e

Please sign in to comment.