{"id":13684258,"url":"https://github.com/duck8823/danger-slack","last_synced_at":"2025-04-30T20:33:42.623Z","repository":{"id":19163815,"uuid":"85883536","full_name":"duck8823/danger-slack","owner":"duck8823","description":"notification to slack in Dangerfile","archived":false,"fork":false,"pushed_at":"2024-10-28T18:29:31.000Z","size":59,"stargazers_count":11,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-07T14:06:52.822Z","etag":null,"topics":["danger","notify-danger-reports","ruby","slack"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/duck8823.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-03-22T22:46:16.000Z","updated_at":"2024-05-16T23:26:57.000Z","dependencies_parsed_at":"2024-05-17T00:42:26.547Z","dependency_job_id":null,"html_url":"https://github.com/duck8823/danger-slack","commit_stats":{"total_commits":43,"total_committers":3,"mean_commits":"14.333333333333334","dds":"0.13953488372093026","last_synced_commit":"384a9e9e22ce851bb6716a308fde792bac235d8b"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duck8823%2Fdanger-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duck8823%2Fdanger-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duck8823%2Fdanger-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duck8823%2Fdanger-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duck8823","download_url":"https://codeload.github.com/duck8823/danger-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224224786,"owners_count":17276428,"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","notify-danger-reports","ruby","slack"],"created_at":"2024-08-02T14:00:31.602Z","updated_at":"2024-11-12T05:31:48.674Z","avatar_url":"https://github.com/duck8823.png","language":"Ruby","funding_links":[],"categories":["Plugins"],"sub_categories":["Ruby (danger)"],"readme":"# danger-slack\n\nNotify danger reports to slack.\n\n## slack setup\n\nThe following steps is required for using danger-slack plugin.  \n\n    1. create bot in https://my.slack.com/services/new/bot  \n    2. invite created bot user to channel in slack app\n\n`slack.api_token` or `SLACK_API_TOKEN` are the bot's token starting from `xoxb-`\n\n## Installation\n\n    $ gem install danger-slack\n\n## Usage\n### How to set your Slack API token\nIn Dangerfile,\n```ruby\nslack.api_token = 'SLACK_API_TOKEN'\n```\n\nor \n\nSet Environment variable `SLACK_API_TOKEN`\n  \n### methods\nGet channels\n```ruby\nslack.channels\n```\n\nGet members\n```ruby\nslack.members\n```\n\nGet groups\n```ruby\nslack.groups\n```\n\nNotify danger reports to slack\n```ruby\nslack.notify(channel: '#your_channel')\n```\n\nPost message to slack\n```ruby\nslack.notify(channel: '#your_channel', text: 'hello danger')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduck8823%2Fdanger-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduck8823%2Fdanger-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduck8823%2Fdanger-slack/lists"}