{"id":21700549,"url":"https://github.com/helaili/vsts-octobot","last_synced_at":"2026-05-19T04:02:02.768Z","repository":{"id":78363919,"uuid":"107550614","full_name":"helaili/vsts-octobot","owner":"helaili","description":"A probot app linking GitHub Enterprise and VSTS","archived":false,"fork":false,"pushed_at":"2018-01-22T19:32:35.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T15:50:18.623Z","etag":null,"topics":["github-bot","probot","vsts"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/helaili.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-19T13:33:13.000Z","updated_at":"2018-01-08T14:34:09.000Z","dependencies_parsed_at":"2023-03-08T22:00:24.284Z","dependency_job_id":null,"html_url":"https://github.com/helaili/vsts-octobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/helaili/vsts-octobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Fvsts-octobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Fvsts-octobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Fvsts-octobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Fvsts-octobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helaili","download_url":"https://codeload.github.com/helaili/vsts-octobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helaili%2Fvsts-octobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271346258,"owners_count":24743602,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github-bot","probot","vsts"],"created_at":"2024-11-25T20:14:38.458Z","updated_at":"2026-05-19T04:02:02.402Z","avatar_url":"https://github.com/helaili.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vsts-octobot\n[![Build Status](https://travis-ci.org/helaili/vsts-octobot.svg?branch=master)](https://travis-ci.org/helaili/vsts-octobot)\n\n\nA GitHub App built with [probot](https://github.com/probot/probot) that links GitHub Enterprise and VSTS.\nIt triggers a VSTS build when a commit is pushed to a pull request and updates its status.\n\n## Usage\n\n1. Generate a VSTS token from `https://\u003cwhatever.visualstudio.com\u003e/_details/security/tokens` with authorized scopes *Build (read and execute)* and *Service Endpoints (read, query and manage)*. Copy the generated token.\n1. [Install VSTS-Octobot](https://github.com/apps/vsts-octobot/installations/new) on one or several repositories.\n1. Provide the VSTS token when asked.\n1. Commit a '.github/vsts-octobot.yml' file in the repositories which have been selected. See below for details on the content of this file.\n\n#### Content of the `.github/vsts-octobot.yml` file\n\nThe content of this file can be easily populated by looking at the URL of your build definition page, which looks like `https://whatever.visualstudio.com/SpidersFromMars/_build/index?context=mine\u0026path=%5C\u0026definitionId=5\u0026_a=completed`\n\n- `instance`: The server name of your VSTS instance (`whatever.visualstudio.com` in the example above).\n- `collection`: The collection your project belongs to. It is most likely `DefaultCollection`.\n- `project`: The name of your project (`SpidersFromMars` in the example above).\n- `buildDefinition`: The id of the build definition which will be triggered (`5` in the example above).\n\n## Deploy your own\n\n1. Create [a new GitHub app](https://github.com/settings/apps/new).\n1. Clone the repository.\n1. Create and configure a `.env` file in the root directory as explained below or use PM2 and configure the `ecosystem.config.js` file.\n1. Install and run Redis using a persistent configuration.\n1. Update the dependencies with `npm install`.\n1. Run with `npm start`.\n\n#### Environment variables\n- `APP_ID`: the id of the GitHub app generated when registering the new GitHub App\n- `WEBHOOK_SECRET`: the optional Webhook secret set during the registration of the new GitHub App\n- `BASE_URL`: The URL at which VSTS will post back events. Exemple: `http://yourserver:3000/` or `https://yourname.localtunnel.me`\n- `FERNET_SECRET`: The secret used to encode and securely store the VSTS tokens. You can create a secret with `dd if=/dev/urandom bs=32 count=1 2\u003e/dev/null | openssl base64`.\n- `LOG_LEVEL`: Set to `trace` or `info` to get more outputs.\n- `SUBDOMAIN`: Subdomain to use for localtunnel server. Defaults to your local username.\n- `REDIS_URL`: URL to connect to Redis in the shape of `[redis:]//[[user][:password@]][host][:port][/db-number][?db=db-number[\u0026password=bar[\u0026option=value]]]`. Do not set if you want to use the default values (localhost unauthenticated).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelaili%2Fvsts-octobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelaili%2Fvsts-octobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelaili%2Fvsts-octobot/lists"}