{"id":19207774,"url":"https://github.com/codota/tabnine-pr-agent","last_synced_at":"2025-10-30T09:02:57.895Z","repository":{"id":252062126,"uuid":"836297746","full_name":"codota/tabnine-pr-agent","owner":"codota","description":"This repository contains the tabnine PR agent ","archived":false,"fork":false,"pushed_at":"2024-09-20T10:03:56.000Z","size":18,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-01-04T15:42:12.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/codota.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T14:49:08.000Z","updated_at":"2024-09-20T09:50:48.000Z","dependencies_parsed_at":"2024-11-09T13:23:17.463Z","dependency_job_id":"b03072a0-3de1-4824-88e5-1f545188085a","html_url":"https://github.com/codota/tabnine-pr-agent","commit_stats":null,"previous_names":["codota/tabnine-pr-agent"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codota%2Ftabnine-pr-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codota%2Ftabnine-pr-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codota%2Ftabnine-pr-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codota%2Ftabnine-pr-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codota","download_url":"https://codeload.github.com/codota/tabnine-pr-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240280835,"owners_count":19776414,"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-09T13:22:34.709Z","updated_at":"2025-10-30T09:02:52.877Z","avatar_url":"https://github.com/codota.png","language":null,"readme":"# Tabnine PR Agent V1\n\nThis action analyzes a pull request using the TabNine CLI. It pulls the necessary Docker image, runs an analysis on the pull request, and checks the report in watch mode. This action helps in automating the code review process by leveraging TabNine's AI-powered code analysis capabilities.\n\n# Usage\n1. This action works only on the \"pull_request\" event within the workflow.\n```yaml\non:\n  pull_request:\n    branches:\n      - main\n  \npermissions:\n  contents: read\n  pull-requests: write\n```\n\n2. Ensure that repository is [checked out](https://github.com/actions/checkout/tree/v4#readme) within your workflow\n3. Add the following to your workflow\n```yaml\nuses: codota/tabnine-pr-agent@v1\ncontinue-on-error: true\nwith:\n  # Personal Access Token (PAT) issued by the admin to access TabNine's analyzing capabilities\n  PAT: \u003cINSERT_YOUR_PAT_HERE\u003e\n\n  # The source branch of the pull request\n  ref: origin/${{ github.head_ref }}\n  \n  # The target branch (destination) of the pull request\n  base_ref: origin/${{ github.base_ref }}\n\n  # Path to the repository in the workflow run, typically equal to \"github.workspace\"\n  path_to_repo: ${{ github.workspace }}\n\n  # GitHub username or organization name that owns the repository\n  repository_owner: ${{ github.repository_owner }}\n\n  # The name of the GitHub repository\n  repository_name: ${{ github.event.repository.name }}\n  \n  # The ID of the pull request\n  pull_request_id: ${{ github.event.pull_request.number }}\n\n  # GitHub token for authentication, provided by GitHub when the workflow is run\n  github_token: ${{ secrets.GITHUB_TOKEN }}\n  \n  # Only for selfhosted/EMT installation - selfhosted server URL. Example for EMT:\"\n  # selfhosted_url: \"https://console.tabnine.com/\"\n\n```\n\n# Examples\nFull workflow that is triggered on \"pull_request\":\n\n```yaml\nname: \"Tabnine PR review agent\"\n\non:\n  pull_request:\n    branches:\n      - main\n        \npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  review_pr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Review PR\n        uses: codota/tabnine-pr-agent@v1\n        continue-on-error: true\n        with:\n          PAT: ${{ secrets.COACHING_PAT }}\n          ref: origin/${{ github.head_ref }}\n          base_ref: origin/${{ github.base_ref }}\n          path_to_repo: ${{ github.workspace }}\n          repository_owner: ${{ github.repository_owner }}\n          repository_name: ${{ github.event.repository.name }}\n          pull_request_id: ${{ github.event.pull_request.number }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodota%2Ftabnine-pr-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodota%2Ftabnine-pr-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodota%2Ftabnine-pr-agent/lists"}