{"id":19989019,"url":"https://github.com/icemap/tidb-action","last_synced_at":"2026-05-13T03:34:41.258Z","repository":{"id":57849440,"uuid":"528479792","full_name":"Icemap/tidb-action","owner":"Icemap","description":"GitHub Action to setup a TiDB database by Docker","archived":false,"fork":false,"pushed_at":"2023-11-13T02:38:23.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T11:49:35.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Icemap.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-08-24T15:18:27.000Z","updated_at":"2023-11-10T20:31:18.000Z","dependencies_parsed_at":"2025-01-12T11:48:03.298Z","dependency_job_id":"f3b24fe1-7762-4dae-a4ed-3c47677de3d4","html_url":"https://github.com/Icemap/tidb-action","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"86bfa53fd684975a23218d95e7354ab0ebbfd976"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icemap","download_url":"https://codeload.github.com/Icemap/tidb-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241430299,"owners_count":19961633,"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":[],"created_at":"2024-11-13T04:45:07.537Z","updated_at":"2025-11-28T03:06:22.503Z","avatar_url":"https://github.com/Icemap.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TiDB Action\n\n[English](/README.md) | 中文\n\n## 说明\n\n- 这是一个非官方的 [GitHub Action](https://github.com/features/actions), 使用 Docker 部署一个 TiDB。\n- 这个 Action 仅用于测试，如果你希望部署一个 TiDB 集群，请看[这里](https://docs.pingcap.com/zh/tidb/stable/production-deployment-using-tiup)。\n- 这个库基于 [mirromutth/mysql-action](https://github.com/mirromutth/mysql-action) 开发。\n\n## 使用方法\n\n最简配置：\n\n```yaml\nsteps:\n- uses: Icemap/tidb-action@v1.1\n```\n\n全部配置：\n\n```yaml\nsteps:\n- uses: Icemap/tidb-action@v1.1\n  with:\n    port: 4001 # 可选，默认为 4000，TiDB 将要运行的端口\n    version: \"v7.1.0\" # 可选，默认为 v7.1.0，TiDB 运行的版本\n    config: |\n[tikv-client.async-commit]\nsafe-window = 0\nallowed-clock-drift = 0 # 可选，默认为空，在你需要特别的 TiDB 配置时，可将配置写在这里\n    inner port: 4001 # 可选，默认为 4000，指 TiDB 容器内部的映射位置，这是在你更改了配置中的 port 时才会用到的一个配置\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficemap%2Ftidb-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-action/lists"}