{"id":34516713,"url":"https://github.com/goodwillaz/drone-convert-plugin-slack","last_synced_at":"2026-04-07T20:31:04.263Z","repository":{"id":39759583,"uuid":"201369732","full_name":"goodwillaz/drone-convert-plugin-slack","owner":"goodwillaz","description":"Drone config plugin to append Slack to all pipelines automatically","archived":false,"fork":false,"pushed_at":"2024-09-04T15:47:30.000Z","size":391,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2024-09-05T22:00:53.689Z","etag":null,"topics":["devs","docker","drone","nodejs","public","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goodwillaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-09T02:02:14.000Z","updated_at":"2024-09-04T15:47:33.000Z","dependencies_parsed_at":"2023-02-08T20:31:11.345Z","dependency_job_id":null,"html_url":"https://github.com/goodwillaz/drone-convert-plugin-slack","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/goodwillaz/drone-convert-plugin-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwillaz%2Fdrone-convert-plugin-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwillaz%2Fdrone-convert-plugin-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwillaz%2Fdrone-convert-plugin-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwillaz%2Fdrone-convert-plugin-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodwillaz","download_url":"https://codeload.github.com/goodwillaz/drone-convert-plugin-slack/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwillaz%2Fdrone-convert-plugin-slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["devs","docker","drone","nodejs","public","slack"],"created_at":"2025-12-24T04:23:27.691Z","updated_at":"2026-04-07T20:31:04.254Z","avatar_url":"https://github.com/goodwillaz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Drone.io Slack Conversion Plugin\n\nThis [Drone.io](https://drone.io) conversion plugin automatically adds Slack notifications before and/or after the steps in a pipeline.  It will work with the [official drone-slack](https://github.com/drone-plugins/drone-slack) plugin (default) or [Goodwill's drone-slack](https://github.com/goodwillaz/drone-slack) plugin (and probably any others floating around as long as they use PLUGIN_* environment variables for configuration).  \n\n### Running\n\nThis plugin is available via [Github's packages](https://github.com/goodwillaz/drone-convert-plugin-slack/packages) or you can optionally build and host yourself.\n\n```bash\n$ docker build --rm -t \u003cyour-repo\u003e/drone-convert-plugin-slack:latest .\n$ drone push \u003cyour-repo\u003e/drone-convert-plugin-slack:latest\n```\n\n### Usage\n\n#### Docker Compose\n\n(Necessary config portion shown only)\n\n```yaml\nservices:\n  drone-server:\n    ...\n    environment:\n      - DRONE_YAML_ENDPOINT=http://drone-convert-plugin-slack:3000\n      - DRONE_YAML_SECRET=${YAML_SECRET:?YAML_SECRET is required}\n      ...\n    depends_on:\n      - drone-convert-plugin-slack\n      ...\n  \n  drone-convert-plugin-slack:\n    image: goodwillaz/drone-convert-plugin-slack:latest\n    environment:\n      - PLUGIN_SECRET=${YAML_SECRET:?YAML_SECRET is required}\n      - PLUGIN_GITHUB_TOKEN=${GITHUB_TOKEN}\n      - SLACK_WEBHOOK=${SLACK_WEBHOOK}\n```\n\n#### .drone.yml file\n\nYou can add a global `slack` option to your pipeline in your .drone.yml to override some items.  These are optional.  The `where` option accepts `false`, `true`, `'after'`, `'before'` and `'both'`.  The `webhook` option can be used to specify an alternate location to post Slack messages to (instead of the SLACK_WEBHOOK environment variable).  The `when` option can be used to specify when to trigger the `slack-after` step (only accepted values are `success` and `failure`).  If you only want failure notifications, set `where` to `after` and set `when` to an array with one element of `failure`.\n\n```yaml\n---\nkind: pipeline\nname: testing\nslack:\n  where: false\n  webhook: https://my.custom.slack.webhook/endpoint\n  when: \n    - success\n    - failure\n```\n\n#### Bypass\n\nIf a step already exists that is named `slack-before` or `slack-after`, this conversion plugin will not prepend or append Slack notifications to the pipeline.\n\n### Environment Variable Support\n\nHere's a full list of environment variables supported by the plugin:\n\n* PLUGIN_SECRET (required)\n* PLUGIN_GITHUB_TOKEN (required; only Github is currently supported as a source)\n* PLUGIN_HOST (default: 0.0.0.0)\n* PLUGIN_PORT (default: 3000)\n* PLUGIN_IMAGE (default: goodwillaz/drone-slack)\n* PLUGIN_WHERE - (default: after; allowed: [before, after, both]; official Drone plugin only supports `after`, Goodwill plugin supports all options)\n* PLUGIN_DEBUG - (default: false)\n* SLACK_ - any environment variable beginning with `SLACK_` is updated to `PLUGIN_` and passed through to the actual Slack plugin.\n    \n### Pipeline Support\n\nThis plugin also supports [our convert plugin pipeline](https://github.com/goodwillaz/drone-convert-plugin-pipeline).\n\n### License\n\nSee the [LICENSE](LICENSE.md) file for license rights and limitations (BSD 3-clause).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodwillaz%2Fdrone-convert-plugin-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodwillaz%2Fdrone-convert-plugin-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodwillaz%2Fdrone-convert-plugin-slack/lists"}