{"id":15157705,"url":"https://github.com/pytorch/probot","last_synced_at":"2025-09-30T07:30:40.621Z","repository":{"id":44998002,"uuid":"202418831","full_name":"pytorch/probot","owner":"pytorch","description":"PyTorch GitHub bot written in probot","archived":true,"fork":false,"pushed_at":"2022-01-21T16:27:26.000Z","size":17156,"stargazers_count":11,"open_issues_count":8,"forks_count":13,"subscribers_count":266,"default_branch":"main","last_synced_at":"2024-09-27T20:03:22.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","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}},"created_at":"2019-08-14T20:09:08.000Z","updated_at":"2023-10-10T04:00:43.000Z","dependencies_parsed_at":"2022-09-13T13:01:39.228Z","dependency_job_id":null,"html_url":"https://github.com/pytorch/probot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fprobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fprobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fprobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytorch%2Fprobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytorch","download_url":"https://codeload.github.com/pytorch/probot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234712850,"owners_count":18875522,"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:48.323Z","updated_at":"2025-09-30T07:30:40.281Z","avatar_url":"https://github.com/pytorch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This repository is archived and our Probot stuff has moved to https://github.com/pytorch/test-infra/tree/main/torchci\n\n\n# pytorch-probot\n\nA GitHub App built with [Probot](https://github.com/probot/probot) that implements bot actions for PyTorch\n\nThis bot implements a few behaviors.  **This bot currently only\nimplements idempotent behaviors (i.e., it is harmless if the bot process\nevents multiple times.**  If you add support for non-idempotent\nbehaviors, you need to make sure only the GitHub Action or AWS Lambda is\nenabled.\n\n## auto-cc-bot\n\nAdd an issue to your project like https://github.com/pytorch/pytorch/issues/24422\nand add a `.github/pytorch-probot.yml` file with:\n\n```yml\ntracking_issue: 24422\n```\n\nBased on who is listed in the tracking issue, the bot will automatically\nCC people when labels are added to an issue.\n\n## auto-label-bot\n\n* If an issue is labeled **high priority**, also label it\n  **triage review**\n* If an issue is labeled **topic: flaky-tests**, also label it\n  **high priority** and **triage review**\n* If an issue or pull request contains a regex in its title, label\n  it accordingly, e.g., a title containing 'ROCm' would yield the\n  **module: rocm** label.\n\n## trigger-circleci-workflows\n\n* Trigger circleci workflows based off of labeling events / push events\n\nConfiguration (`.github/pytorch-circleci-labels.yml`) should look similar to this:\n```yml\nlabels_to_circle_params:\n  # Refers to github labels\n  ci/binaries:\n    # Refers to circleci parameters\n    # For circleci documentation on pipeline parameters check:\n    #      https://circleci.com/docs/2.0/pipeline-variables/#pipeline-parameters-in-configuration\n    parameter: run_binaries_tests\n    # [[optional]] Automatically trigger workflows with parameters on push\n    default_true_on:\n      branches:\n        - nightly\n        # Regex is allowed as well\n        - ci-all/.*\n      # Even works on tags!\n      tags:\n        - v[0-9]+(\\.[0-9]+)*-rc[0-9]+\n  # Multiple label / parameters can be defined\n  ci/bleh:\n    parameter: run_bleh_tests\n  ci/foo:\n    parameter: run_foo_tests\n```\n\n## Setup\n\n```sh\n# Install dependencies\nyarn install\n\n# Run the tests\nyarn test\n\n# Run the bot\nyarn start\n```\n\n## Live testing as a GitHub App\n\nIf you want to smoketest the bot on a test repository, you'll need to\ncreate a GitHub app.  Go to the webpage from probot; it will walk\nthrough the process.\n\n## Deploying GitHub Actions\n\nAlthough a GitHub App is convenient for testing, it requires an actual\nserver to deploy in prod.  Previously we ran the server on AWS, but this\ndeployment process was substantially more involved.  GitHub Actions\ndeployment is simpler.  Follow the instructions at\nhttps://github.com/actions/toolkit/blob/master/docs/action-versioning.md\n\nRight now the GitHub Actions deployment is a little rocky because\nmassive queueing in the PyTorch repository means it takes something\nlike 30min before actions are run.  So we are also running AWS\nside-by-side.\n\n## Deploying to AWS\n\n[`.github/workflows/build.yml`](.github/workflows/build.yml) will build and deploy the code on every push to `main`.\n\n## Contributing\n\nIf you have suggestions for how pytorchbot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[ISC](LICENSE) © 2019 Edward Z. Yang \u003cezyang@fb.com\u003e (https://pytorch.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytorch%2Fprobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytorch%2Fprobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytorch%2Fprobot/lists"}