{"id":15140329,"url":"https://github.com/z0al/probot-issue-commands","last_synced_at":"2026-05-04T23:35:54.423Z","repository":{"id":57330809,"uuid":"115730986","full_name":"z0al/probot-issue-commands","owner":"z0al","description":"A Probot extension to make it easier to build commands with syntax similar to GitHub issue closing pattern","archived":false,"fork":false,"pushed_at":"2017-12-30T11:47:34.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-26T06:13:00.753Z","etag":null,"topics":["github","github-issues","probot","probot-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/z0al.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":"2017-12-29T14:59:25.000Z","updated_at":"2023-01-30T22:04:17.000Z","dependencies_parsed_at":"2022-09-21T03:10:58.875Z","dependency_job_id":null,"html_url":"https://github.com/z0al/probot-issue-commands","commit_stats":null,"previous_names":["ahmed-taj/probot-issue-commands"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/z0al/probot-issue-commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fprobot-issue-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fprobot-issue-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fprobot-issue-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fprobot-issue-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0al","download_url":"https://codeload.github.com/z0al/probot-issue-commands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0al%2Fprobot-issue-commands/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32629005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","github-issues","probot","probot-extension"],"created_at":"2024-09-26T08:02:09.592Z","updated_at":"2026-05-04T23:35:54.405Z","avatar_url":"https://github.com/z0al.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Probot: Issue Commands\n\n[![Travis](https://img.shields.io/travis/ahmed-taj/probot-issue-commands.svg)](https://travis-ci.org/ahmed-taj/probot-issue-commands)\n[![npm](https://img.shields.io/npm/v/probot-issue-commands.svg)](https://www.npmjs.com/package/probot-issue-commands)\n\nA Probot extension to make it easier to work with issue commands. It was primarily written to help support GitHub [closing issue pattern](https://help.github.com/articles/closing-issues-using-keywords/) like custom syntax for [DEP](https://github.com/apps/dep)\n\n## Installation\n\n```sh\n$ npm add probot-issue-commands\n```\n\n## How it works\n\nThe extension works by matching new issue comments against the following pattern:\n\n```javascript\n/CMD +((([\\w-.]+\\/[\\w-.]+)?#\\d+) *((, *)? *and +|, *)?)+/i\n```\n\nWhich should match e.g:\n\n* CMD #1\n* CMD #1, #2\n* CMD #1, #2, and #3\n* CMD #1 #2\n* CMD #1 and #2\n\nIt also supports `owner/repo#ID` syntax to reference issues in different repositories.\n\nInternally the extension replaces `CMD` with your command regex's source (without any options i.e. `g`) and then execute result against comment body.\n\n## Usage\n\n```javascript\nconst { addCommand } = require('probot-issue-commands')\n\n// Type `closes #1, and owner/repo#2`\naddCommand(robot, /clos(es|ing)/, (context, issues) =\u003e {\n\tconsole.log(issues)\n\t// ['#1','owner/repo#2', ...]\n})\n```\n\n## Like it?\n\nGive it a star(:star:) :point_up_2:\n\n## License\n\nMIT © [Ahmed T. Ali](https://github.com/ahmed-taj)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fprobot-issue-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0al%2Fprobot-issue-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0al%2Fprobot-issue-commands/lists"}