{"id":20463196,"url":"https://github.com/devwithkrishna/delete-github-repository","last_synced_at":"2025-03-05T11:50:21.526Z","repository":{"id":214317580,"uuid":"736222901","full_name":"devwithkrishna/delete-github-repository","owner":"devwithkrishna","description":"delete-github-repository using automation","archived":false,"fork":false,"pushed_at":"2024-01-04T06:08:08.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-16T00:55:51.273Z","etag":null,"topics":["bash-script","github","github-workflow"],"latest_commit_sha":null,"homepage":"https://github.com/devwithkrishna/delete-github-repository","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devwithkrishna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-27T10:10:36.000Z","updated_at":"2023-12-28T14:41:54.000Z","dependencies_parsed_at":"2023-12-27T11:29:23.155Z","dependency_job_id":"cccffc60-7172-42c4-95bb-1f1ca20c19b0","html_url":"https://github.com/devwithkrishna/delete-github-repository","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"ff807bdfbe7f31c0305c07d0c524cb8a18759dce"},"previous_names":["devwithkrishna/delete-github-repository"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fdelete-github-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fdelete-github-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fdelete-github-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devwithkrishna%2Fdelete-github-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devwithkrishna","download_url":"https://codeload.github.com/devwithkrishna/delete-github-repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242023192,"owners_count":20059297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-script","github","github-workflow"],"created_at":"2024-11-15T13:09:49.930Z","updated_at":"2025-03-05T11:50:21.482Z","avatar_url":"https://github.com/devwithkrishna.png","language":"Shell","readme":"# delete-github-repository\n\n```\nDeleting a repository requires admin access. If OAuth is used, the delete_repo scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, you will get a 403 Forbidden response.\n```\n\nreference: [delete-github-repository](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#delete-a-repository)\n\n## How code works\n\n* requires owner name / organization name\n* requires repository names\n* Multiple repo names can be provided as a comma seperated values.\n    * * Eg: testrepo,testrepo1,testrepo2 \n\n```\nThese parameters are received from the github workflow UI. These are then passed to restAPI in bash script\n``` \n\n* The credential used is ``` FINE GRAINED PERSONAL ACCESS TOKEN ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fdelete-github-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwithkrishna%2Fdelete-github-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwithkrishna%2Fdelete-github-repository/lists"}