{"id":15714376,"url":"https://github.com/nighttwo1/fastlane-slack-message","last_synced_at":"2026-05-03T04:34:21.273Z","repository":{"id":243213137,"uuid":"810921189","full_name":"nighttwo1/fastlane-slack-message","owner":"nighttwo1","description":"A custom `fastlane` action to send messages to a Slack channel","archived":false,"fork":false,"pushed_at":"2024-06-07T11:04:28.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T22:36:52.911Z","etag":null,"topics":["fastlane","slack","slack-webhook"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/nighttwo1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-05T15:47:21.000Z","updated_at":"2024-07-24T16:31:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"477b82ad-6cab-4c08-884f-549faeda5e29","html_url":"https://github.com/nighttwo1/fastlane-slack-message","commit_stats":null,"previous_names":["nighttwo1/fastlane-slack-message"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nighttwo1%2Ffastlane-slack-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nighttwo1%2Ffastlane-slack-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nighttwo1%2Ffastlane-slack-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nighttwo1%2Ffastlane-slack-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nighttwo1","download_url":"https://codeload.github.com/nighttwo1/fastlane-slack-message/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372502,"owners_count":20766625,"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":["fastlane","slack","slack-webhook"],"created_at":"2024-10-03T21:36:32.907Z","updated_at":"2026-05-03T04:34:21.242Z","avatar_url":"https://github.com/nighttwo1.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastlane Action for slack message\n\nAction for sending message with incoming webhook app in slack. Supports both simplified template and user customized block kit message.\n\n# Example Output\n\nThis action will generate and send a message to Slack that looks like this:\n\u003cimg width=\"697\" alt=\"스크린샷 2024-06-07 오후 8 02 05\" src=\"https://github.com/nighttwo1/fastlane-slack-message/assets/43779571/dad071b8-c458-42df-913e-cba8dfde3d4f\"\u003e\n\n# Usage\n\nHere is an example of how to use this action in your `Fastfile`:\n\n### 1. Use predefiend template\n\n```ruby\nlane :post_to_slack do\n  slack_message(\n    title: \"새로운 안드로이드 앱이 배포되었습니다! 🚀\",\n    sub_title: \"Checkout for new version of android app!\",\n    webhook_url: \"https://hooks.slack.com/services/...\",\n    payload: {\n      \"버전\" =\u003e \"0.1.10\",\n      \"패키지명\" =\u003e \"com.nighttwo1.slackmsg\",\n    },\n    default_payloads: [:git_branch, :git_author, :release_date],\n    footer: \"테스트 후 피드백은 언제든지 환영합니다. 앱 사용 중 문제가 발생하거나 개선 사항이 있다면 메시지를 남겨주시면 감사하겠습니다.\",\n  )\nend\n```\n\n### 2. Use customed block kit message\n\n```ruby\nlane :post_to_slack_with_custom_body do\n  slack_message(\n    webhook_url: \"https://hooks.slack.com/services/...\",\n    custom_body: '{\n      \"blocks\": [\n          {\n            \"type\": \"header\",\n            \"text\": {\n              \"type\": \"plain_text\",\n              \"text\": \"새로운 안드로이드 앱이 배포되었습니다! 🚀\",\n              \"emoji\": true\n            }\n          },\n          {\n            \"type\": \"section\",\n            \"text\": {\n              \"type\": \"plain_text\",\n              \"text\": \"Checkout for new version of android app!\",\n              \"emoji\": true\n            }\n          },\n          {\n            \"type\": \"section\",\n            \"fields\": [\n              {\n                \"type\": \"mrkdwn\",\n                \"text\": \"*버전:* `0.1.10`\"\n              },\n              {\n                \"type\": \"mrkdwn\",\n                \"text\": \"*패키지명:* `com.nighttwo1.slackmsg`\"\n              },\n              {\n                \"type\": \"mrkdwn\",\n                \"text\": \"*Release Date:* `2024-06-05`\"\n              }\n            ]\n          },\n          {\n            \"type\": \"divider\"\n          },\n          {\n            \"type\": \"section\",\n            \"text\": {\n              \"type\": \"mrkdwn\",\n              \"text\": \"테스트 후 피드백은 언제든지 환영합니다. 앱 사용 중 문제가 발생하거나 개선 사항이 있다면 메시지를 남겨주시면 감사하겠습니다.\"\n            }\n          }\n        ]\n      }'\n  )\nend\n```\n\n# Parameters\n\n| Key                | Description                                                                                                              | Environment Variable                | Default                        | Type   | Optional |\n| ------------------ | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------- | ------------------------------ | ------ | -------- |\n| `title`            | The title displayed on the Slack message.                                                                                | `FL_SLACK_MESSAGE_TITLE`            | `새로운 메시지`                | String | No       |\n| `sub_title`        | The subtitle displayed on the Slack message.                                                                             | `FL_SLACK_MESSAGE_SUB_TITLE`        |                                | String | Yes      |\n| `webhook_url`      | The Incoming WebHook URL for your Slack group.                                                                           | `FL_SLACK_MESSAGE_WEBHOOK_URL`      |                                | String | No       |\n| `payload`          | A hash containing additional information to be displayed in the message.                                                 | `FL_SLACK_MESSAGE_PAYLOAD`          | `{}`                           | Hash   | No       |\n| `default_payloads` | An array containing default information to be displayed in the message.                                                  | `FL_SLACK_MESSAGE_DEFAULT_PAYLOADS` | `['git_branch', 'git_author']` | Array  | No       |\n| `footer`           | Additional message displayed at the bottom of the Slack message.                                                         | `FL_SLACK_MESSAGE_FOOTER`           |                                | String | Yes      |\n| `custom_body`      | A complete custom body for the Slack message in JSON format. If this is provided, it will override the other parameters. | `FL_SLACK_MESSAGE_CUSTOM_BODY`      |                                | String | Yes      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnighttwo1%2Ffastlane-slack-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnighttwo1%2Ffastlane-slack-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnighttwo1%2Ffastlane-slack-message/lists"}