{"id":13684403,"url":"https://github.com/julon/danger-plugin-slack","last_synced_at":"2025-07-24T10:07:17.608Z","repository":{"id":49176012,"uuid":"99190324","full_name":"julon/danger-plugin-slack","owner":"julon","description":"DangerJS plugin to send report \u0026 message to Slack","archived":false,"fork":false,"pushed_at":"2021-06-25T00:55:14.000Z","size":6959,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T03:57:58.528Z","etag":null,"topics":["danger","danger-plugin","slack"],"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/julon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-03T04:22:15.000Z","updated_at":"2021-04-02T17:14:07.000Z","dependencies_parsed_at":"2022-08-29T05:10:21.311Z","dependency_job_id":null,"html_url":"https://github.com/julon/danger-plugin-slack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fdanger-plugin-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fdanger-plugin-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fdanger-plugin-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julon%2Fdanger-plugin-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julon","download_url":"https://codeload.github.com/julon/danger-plugin-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245298348,"owners_count":20592591,"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":["danger","danger-plugin","slack"],"created_at":"2024-08-02T14:00:33.146Z","updated_at":"2025-03-24T15:32:17.242Z","avatar_url":"https://github.com/julon.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["TypeScript (danger-js)"],"readme":"# danger-plugin-slack\n\n[![Build Status](https://travis-ci.org/julon/danger-plugin-slack.svg?branch=master)](https://travis-ci.org/julon/danger-plugin-slack)\n[![npm version](https://badge.fury.io/js/danger-plugin-slack.svg)](https://badge.fury.io/js/danger-plugin-slack)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Greenkeeper badge](https://badges.greenkeeper.io/julon/danger-plugin-slack.svg)](https://greenkeeper.io/)\n\n\u003e Report to Slack the result of Danger\n\n## Usage\n\nInstall:\n\n```sh\nyarn add danger-plugin-slack --dev\n```\n\nTo send the Danger report to slack:\n\n```js\n// dangerfile.js\nimport slack from 'danger-plugin-slack'\n\nconst options = {\n  webhookUrl: \"YOUR_SLACK_WEBHOOK_URL\" // only the webhook URL is required\n}\n\nslack(options) // to invoke at the end of the dangerfile to get the full report\n```\n\nTo send a specific message:\n\n```js\n// dangerfile.js\nimport slack from 'danger-plugin-slack'\n\nconst options = {\n  webhookUrl: \"YOUR_SLACK_WEBHOOK_URL\",\n  text: \"Hello world!\", // A custom message to send instead of the report (optional, default: null)\n  username: \"Jacky\", // A custom sender name (optional, default: \"DangerJS\")\n  iconEmoji: \":sunglasses:\", // A custom emoji (optional, default: \":open_mouth:\")\n  iconUrl: \"http://path/custom/icon/url\", // A custom iconUrl (optional, default: null)\n  channel: \"#general\", // A custom channel (optional)\n}\n\nslack(options)\n```\n\n## Incoming Webhook\nTo get a new incoming webhook url, you will have to [click here](https://my.slack.com/services/new/incoming-webhook/).\nKeep in mind that optional parameters such as channel or emoji doesn't work with integrations declared as Slack Apps. So it's better to create a simple incoming webhook.\n\n## Changelog\n\nSee the GitHub [release history](https://github.com/julon/danger-plugin-slack/releases).\n\n## Contributing\n\nSee [CONTRIBUTING.md](contributing.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulon%2Fdanger-plugin-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulon%2Fdanger-plugin-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulon%2Fdanger-plugin-slack/lists"}