{"id":13678744,"url":"https://github.com/cloudgardener/cdk-aws-fargate-github-actions-runner","last_synced_at":"2025-05-12T14:58:38.723Z","repository":{"id":37049931,"uuid":"412908374","full_name":"cloudgardener/cdk-aws-fargate-github-actions-runner","owner":"cloudgardener","description":"CDK construct library to deploy GitHub Actions self-hosted runner to AWS Fargate.","archived":false,"fork":false,"pushed_at":"2025-05-06T00:43:59.000Z","size":1933,"stargazers_count":17,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T01:34:24.635Z","etag":null,"topics":["aws","aws-cdk","aws-ecs","aws-fargate","aws-fargate-application","cdk","cdk-construct","ecs","github-actions","github-actions-runner"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/cloudgardener.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-02T20:47:46.000Z","updated_at":"2025-05-06T00:42:01.000Z","dependencies_parsed_at":"2024-01-14T14:39:41.456Z","dependency_job_id":"3fa4888d-df44-4664-9b30-13cc53940b8a","html_url":"https://github.com/cloudgardener/cdk-aws-fargate-github-actions-runner","commit_stats":{"total_commits":507,"total_committers":2,"mean_commits":253.5,"dds":"0.0019723865877712132","last_synced_commit":"faae8727ddb9d249847a602c4dd909fcdec70c64"},"previous_names":[],"tags_count":629,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudgardener%2Fcdk-aws-fargate-github-actions-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudgardener%2Fcdk-aws-fargate-github-actions-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudgardener%2Fcdk-aws-fargate-github-actions-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudgardener%2Fcdk-aws-fargate-github-actions-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudgardener","download_url":"https://codeload.github.com/cloudgardener/cdk-aws-fargate-github-actions-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793580,"owners_count":21805055,"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":["aws","aws-cdk","aws-ecs","aws-fargate","aws-fargate-application","cdk","cdk-construct","ecs","github-actions","github-actions-runner"],"created_at":"2024-08-02T13:00:57.730Z","updated_at":"2025-05-12T14:58:38.696Z","avatar_url":"https://github.com/cloudgardener.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# cdk-aws-fargate-github-actions-runner\n\n[![View on Construct Hub](https://constructs.dev/badge?package=%40cloudgardener%2Fcdk-aws-fargate-github-actions-runner)](https://constructs.dev/packages/@cloudgardener/cdk-aws-fargate-github-actions-runner)\n\nCDK construct library to deploy [GitHub Actions self-hosted runner](https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners) to AWS Fargate.\n\nThis is continuation to [`cdk-github-actions-runner`](https://github.com/nikovirtala/cdk-github-actions-runner) proof-of-concept.\n\n## Example\n\n```ts\nimport { App, Stack, aws_ecs as ecs, aws_ssm as ssm } from \"aws-cdk-lib\";\nimport { GithubActionsRunner } from \"@cloudgardener/cdk-aws-fargate-github-actions-runner\";\n\nconst app = new App();\nconst stack = new Stack(app, \"stack\");\n\n// Get GitHub token e.g. from SSM Parameter Store\nconst token = ecs.Secret.fromSsmParameter(\n  ssm.StringParameter.fromSecureStringParameterAttributes(\n    stack,\n    \"GitHubAccessToken\",\n    {\n      parameterName: \"GITHUB_ACCESS_TOKEN\",\n      version: 0,\n    }\n  )\n);\n\n// Assign runner to repository\nconst context = \"https://github.com/cloudgardener/runner-demo\";\n\n// Runners can be also assigned to organization\n// const context = \"https://github.com/cloudgardener\";\n\n// Deploy the runner\nnew GithubActionsRunner(stack, \"runner\", {\n  githubToken: token,\n  runnerContext: context,\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudgardener%2Fcdk-aws-fargate-github-actions-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudgardener%2Fcdk-aws-fargate-github-actions-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudgardener%2Fcdk-aws-fargate-github-actions-runner/lists"}