Skip to content

Commit 5747dd7

Browse files
fix: don't enable GitHub's advanced_security (#656)
## PR Checklist - [x] Addresses an existing open issue: fixes #654 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removing it fixes the 422 complaint for public repos. I guess this would be useful for private repos, but that logic doesn't exist in this template.
1 parent 11ba8f2 commit 5747dd7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/setup/steps/hydrateRepositorySettings.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export async function hydrateRepositorySettings(
2222
owner,
2323
repo: repository,
2424
security_and_analysis: {
25-
advanced_security: {
26-
status: "enabled",
27-
},
2825
secret_scanning: {
2926
status: "enabled",
3027
},

0 commit comments

Comments
 (0)