{"id":16848364,"url":"https://github.com/rustin170506/ti-community-rebase","last_synced_at":"2025-03-18T07:23:16.584Z","repository":{"id":65160086,"uuid":"309915185","full_name":"Rustin170506/ti-community-rebase","owner":"Rustin170506","description":"A rebase actions for tidb community.","archived":false,"fork":false,"pushed_at":"2020-11-04T07:51:33.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-16T01:07:11.173Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rustin170506.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}},"created_at":"2020-11-04T06:48:41.000Z","updated_at":"2021-02-02T10:27:53.000Z","dependencies_parsed_at":"2023-01-13T15:43:43.948Z","dependency_job_id":null,"html_url":"https://github.com/Rustin170506/ti-community-rebase","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"d0c765506e990424a28ecf10ea8fa3969b4d686c"},"previous_names":["rustin170506/ti-community-rebase","hi-rustin/ti-community-rebase"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Fti-community-rebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Fti-community-rebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Fti-community-rebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Fti-community-rebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rustin170506","download_url":"https://codeload.github.com/Rustin170506/ti-community-rebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244174099,"owners_count":20410439,"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-10-13T13:11:01.151Z","updated_at":"2025-03-18T07:23:16.563Z","avatar_url":"https://github.com/Rustin170506.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub action to automatically rebase PRs, inspired by [rebase](https://github.com/cirrus-actions/rebase)\n\nAfter installation simply comment `/rebase` to trigger the action:\n\n![rebase-action](https://user-images.githubusercontent.com/989066/51547853-14a57b00-1e35-11e9-841d-33114f0f0bd5.gif)\n\n# Installation\n\nTo configure the action simply add the following lines to your `.github/workflows/rebase.yml` workflow file:\n\n```yml\non: \n  issue_comment:\n    types: [created]\nname: Automatic Rebase\njobs:\n  rebase:\n    name: Rebase\n    if: github.event.issue.pull_request != '' \u0026\u0026 contains(github.event.comment.body, '/rebase')\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the latest code\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: ti-community-rebase\n      uses: tidb-community-bots/ti-community-rebase@v1.0.1\n\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Restricting who can call the action\n\nIt's possible to use `author_association` field of a comment to restrict who can call the action and skip the rebase for others. Simply add the following expression to the `if` statement in your workflow file: `github.event.comment.author_association == 'MEMBER'`. See [documentation](https://developer.github.com/v4/enum/commentauthorassociation/) for a list of all available values of `author_association`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustin170506%2Fti-community-rebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustin170506%2Fti-community-rebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustin170506%2Fti-community-rebase/lists"}