{"id":15157717,"url":"https://github.com/pytorch/add-annotations-github-action","last_synced_at":"2025-09-30T07:31:06.318Z","repository":{"id":39886245,"uuid":"207020933","full_name":"pytorch/add-annotations-github-action","owner":"pytorch","description":"A GitHub action to run clang-tidy and annotate failures","archived":true,"fork":false,"pushed_at":"2023-07-12T01:57:45.000Z","size":17149,"stargazers_count":13,"open_issues_count":7,"forks_count":12,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-18T17:09:55.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pytorch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-09-07T20:14:19.000Z","updated_at":"2023-10-01T15:02:46.000Z","dependencies_parsed_at":"2024-06-18T18:32:36.966Z","dependency_job_id":"ac6267f1-334a-4610-8e7c-97bdf0f00120","html_url":"https://github.com/pytorch/add-annotations-github-action","commit_stats":{"total_commits":33,"total_committers":6,"mean_commits":5.5,"dds":0.6666666666666667,"last_synced_commit":"8436d20d95a47566529672c4cb464770a1ec0b49"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fadd-annotations-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fadd-annotations-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fadd-annotations-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fadd-annotations-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytorch","download_url":"https://codeload.github.com/pytorch/add-annotations-github-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234712855,"owners_count":18875523,"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-09-26T20:01:56.932Z","updated_at":"2025-09-30T07:30:57.051Z","avatar_url":"https://github.com/pytorch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# add-annotations-github-action\n\nA [GitHub Action][] to add [checks][] to pull requests by running lines of\noutput from a linter (such as [Flake8][] or [clang-tidy][]) through a regex.\n\n## Example\n\n```yml\non: pull_request\njobs:\n  fake8:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          touch fake8.txt\n          echo 'README.md:1:3: R100 make a better title' \u003e\u003e fake8.txt\n          echo 'README.md:2:1: R200 give a better description' \u003e\u003e fake8.txt\n      - uses: pytorch/add-annotations-github-action@master\n        with:\n          check_name: fake8\n          linter_output_path: fake8.txt\n          commit_sha: ${{ github.event.pull_request.head.sha }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Usage\n\nSee [action.yml][] for most of the usage info. Also note that (as shown in the\nexample above) `env.GITHUB_TOKEN` must be set, or this action will simply fail\nwith the message `Error: Bad credentials`.\n\n[action.yml]: action.yml\n[checks]: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-status-checks#checks\n[clang-tidy]: https://clang.llvm.org/extra/clang-tidy/\n[flake8]: https://flake8.pycqa.org/en/latest/\n[github action]: https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions#actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytorch%2Fadd-annotations-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytorch%2Fadd-annotations-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytorch%2Fadd-annotations-github-action/lists"}