{"id":24228788,"url":"https://github.com/blacha/github-tf","last_synced_at":"2025-10-11T10:05:16.473Z","repository":{"id":207134880,"uuid":"718466566","full_name":"blacha/github-tf","owner":"blacha","description":"Configure github using CDKTF","archived":false,"fork":false,"pushed_at":"2025-07-09T01:24:16.000Z","size":257,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T02:31:51.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blacha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-14T06:13:06.000Z","updated_at":"2025-07-09T01:24:20.000Z","dependencies_parsed_at":"2025-01-14T11:43:52.747Z","dependency_job_id":"ad5d30c8-fd52-461b-99ef-f0af5831bde3","html_url":"https://github.com/blacha/github-tf","commit_stats":null,"previous_names":["blacha/github-tf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blacha/github-tf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fgithub-tf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fgithub-tf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fgithub-tf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fgithub-tf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacha","download_url":"https://codeload.github.com/blacha/github-tf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fgithub-tf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006830,"owners_count":26084203,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-14T11:32:53.661Z","updated_at":"2025-10-11T10:05:16.430Z","avatar_url":"https://github.com/blacha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blacha/github-tf\n\nManaging the configuration of my github repositories using Github Actions and CDKTF\n\n## Why ?\n\nBecause I have quite a few repos, it is hard to keep them all in sync with the latest github configuration settings.\n\n## How ?\n\nUsing CDKTF, each repository is listed as a CDK construct that is then kept in sync with a state object in S3, so if I change the repo by hand it will automatically get re-deployed back to the configuration in code.\n\n## Usage\n\nThis repository is very specific to [github.com/blacha](https://github.com/blacha), it could be forked and then configured for your own use. CDKTF needs a S3 state file so you need to configure access for your repository to S3.\n\nThe base cdktf command also uses the `gh` CLI for auth\n\n```bash\nnpm install\n\nnpx cdktf diff\n\nnpx cdktf apply\n```\n\n\n### adding existing repositories\n\nTo add a existing repository first create the cdktf for the repo, then run a `npx cdktf synth`,\n\nthen using terraform perform a import inside the cdktf.out/stacks/:stackName folder\n\n```bash\ncd cdktf.out/stacks/github-tf/\n\nterraform import github_repository.$1 $1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fgithub-tf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacha%2Fgithub-tf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fgithub-tf/lists"}