{"id":19989851,"url":"https://github.com/ojdev/azure.devops.notify.dingtalk.robots","last_synced_at":"2026-06-10T17:31:22.500Z","repository":{"id":56800751,"uuid":"393390149","full_name":"ojdev/azure.devops.notify.dingtalk.robots","owner":"ojdev","description":"AzureDevOps接入钉钉群机器人","archived":false,"fork":false,"pushed_at":"2022-08-17T02:17:00.000Z","size":1140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T22:27:32.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ojdev.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}},"created_at":"2021-08-06T13:46:13.000Z","updated_at":"2021-10-27T02:23:27.000Z","dependencies_parsed_at":"2022-08-17T01:30:27.619Z","dependency_job_id":null,"html_url":"https://github.com/ojdev/azure.devops.notify.dingtalk.robots","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ojdev/azure.devops.notify.dingtalk.robots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojdev%2Fazure.devops.notify.dingtalk.robots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojdev%2Fazure.devops.notify.dingtalk.robots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojdev%2Fazure.devops.notify.dingtalk.robots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojdev%2Fazure.devops.notify.dingtalk.robots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ojdev","download_url":"https://codeload.github.com/ojdev/azure.devops.notify.dingtalk.robots/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojdev%2Fazure.devops.notify.dingtalk.robots/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34163253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-11-13T04:50:35.867Z","updated_at":"2026-06-10T17:31:22.483Z","avatar_url":"https://github.com/ojdev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Docker Automated build](https://img.shields.io/docker/automated/luacloud/devops.to.dingtalk.robots)  ![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/luacloud/devops.to.dingtalk.robots)\n\n[](https://developers.dingtalk.com/document/robots/custom-robot-access)\n# docker-compose.yml\n```yaml\nversion: \"2.0\"\nservices:\n  dingtalk:\n    image: luacloud/devops.to.dingtalk.robots:latest\n    container_name: dingtalk\n    environment:\n      - TZ:Asia/Shanghai\n    volumes:\n      - ./appsettings.json:/app/appsettings.json\n    ports:\n      - 80:80\n```\n\n# appsettings.json\n```json\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft\": \"Warning\",\n      \"Microsoft.Hosting.Lifetime\": \"Information\"\n    }\n  },\n  \"workItemCustomNodes\": [\n    {\"key\":\"xxx\",\"name\":\"名字\"}\n  ],\n  \"robots\": [\n    {\n      \"Name\": \"DevOps通知群\",\n      \"access_token\": \"xxx\",\n      \"secret\": \"xxx\",\n      \"Types\": [ \n      {\n            \"Type\":\"PR\",\n            \"WorkItemTypes\":[],\n      },\n      {\n            \"Type\":\"Task\",\n            \"WorkItemTypes\":[\"用户情景\",\"Bug\",\"任务\"],\n      }],     \n      \"AtOnly\": true,\n      \"UserMappings\": [\n        {\n          \"devops\": \"ABC\",\n          \"dingtalk\": \"18000000001\"\n        },\n        {\n          \"devops\": \"BCD\",\n          \"dingtalk\": \"18000000003\"\n        },\n        {\n          \"devops\": \"DEF\",\n          \"dingtalk\": \"18000000002\"\n        }\n      ]\n    }\n  ],\n  \"DefaultUserMappings\": [\n    {\n      \"devops\": \"ABC\",\n      \"dingtalk\": \"18000000001\"\n    },\n    {\n      \"devops\": \"BCD\",\n      \"dingtalk\": \"18000000003\"\n    },\n    {\n      \"devops\": \"DEF\",\n      \"dingtalk\": \"18000000002\"\n    }\n  ]\n}\n```\n\n# robots\n\n## Name\n\n用来标识是哪一个通知机器人\n## access_token\n\n钉钉群机器人的token\n\n## secret\n\n为了安全性，所以只使用钉钉群机器人的secret\n\n## Types\n\n产生通知的类型，可以用来过滤是显示拉去请求的通知还是任务项的。\n### Type\n\n- PR: PR拉取请求\n- Task: 工作项\n### WorkItemTypes\n\n目前仅针对工作项中的内容，包括[\"用户情景\",\"Bug\",\"任务\"]\n## AtOnly\n\n- true: 只@工作项中提到的人\n- false: @所有人\n# DefaultUserMappings \u0026 UserMappings\n\n当robots节点中的UserMappings为空集合的时候则使用DefaultUserMappings中的用户发起通知\n## devops\n\nAzureDevops中的用户名称\n\n## dingtalk\n\ndingtalk中的用户手机号，用来将AzureDevops中的用户在dingtalk显示@效果","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojdev%2Fazure.devops.notify.dingtalk.robots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fojdev%2Fazure.devops.notify.dingtalk.robots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojdev%2Fazure.devops.notify.dingtalk.robots/lists"}