From 9fb566155b2641376f8a90ff04b58ec4eb8e2735 Mon Sep 17 00:00:00 2001 From: User Date: Tue, 5 May 2026 18:43:25 +0300 Subject: [PATCH] Remove create_repo.ps1 to avoid exposing secrets --- create_repo.ps1 | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 create_repo.ps1 diff --git a/create_repo.ps1 b/create_repo.ps1 deleted file mode 100644 index a676233..0000000 --- a/create_repo.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -$body = @{ - name = 'bot_vk_ikp' - description = 'VK Sales Bot' - private = $false -} | ConvertTo-Json - -$bytes = [System.Text.Encoding]::UTF8.GetBytes($body) - -$headers = @{ - 'Authorization' = 'Bearer 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' - 'Accept' = 'application/vnd.github.v3+json' -} - -$result = Invoke-RestMethod -Method POST -Uri 'https://api.github.com/user/repos' -Headers $headers -Body $bytes -ContentType 'application/json; charset=utf-8' -Write-Host "Repository created: $($result.html_url)" \ No newline at end of file