{"id":18710745,"url":"https://github.com/apify/slack-messages-action","last_synced_at":"2025-11-03T16:30:36.235Z","repository":{"id":48042386,"uuid":"369428784","full_name":"apify/slack-messages-action","owner":"apify","description":"It wraps up messages sending from Apify GitHub workflows into Slack.","archived":false,"fork":false,"pushed_at":"2023-03-16T13:09:14.000Z","size":480,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-16T16:19:55.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/apify.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}},"created_at":"2021-05-21T05:58:09.000Z","updated_at":"2022-10-20T16:47:43.000Z","dependencies_parsed_at":"2022-09-17T00:02:34.462Z","dependency_job_id":null,"html_url":"https://github.com/apify/slack-messages-action","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/apify%2Fslack-messages-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fslack-messages-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fslack-messages-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fslack-messages-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/slack-messages-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576294,"owners_count":19662108,"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":[],"created_at":"2024-11-07T12:35:32.381Z","updated_at":"2025-11-03T16:30:36.192Z","avatar_url":"https://github.com/apify.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apify Slack messages action\n\nIt wraps up messages sending from Apify GitHub workflows into Slack.\n\n# Action input\n\n| Name                                      |                                                                    Description    |                                                     Example | Required |\n| ---------------------------------------   | --------------------------------------------------------------------------------  | ----------------------------------------------------------- | -------- |\n| `slack-bot-user-oauth-access-token`       |                                                                Slack access token |                                               `slack-token` |      yes |\n| `slack-channel`                           |       Slack channel, you can override it using SLACK_CHANNEL environment variable |                                               `C01LBLK4FHA` |      yes |\n| `message`                                 | Content of message                                                                |                                           `*Deploy started*`|  yes [1] |\n| `color`                                   | Color of message                                                                  |                                                   `#0066ff` |       no |\n| `message-type`                            | Message type from prepared messages                                               |                                                `pre-deploy` |  yes [1] |\n| `version-tag`                             | Version tag                                                                       |                                                    `v1.0.0` |       no |\n\n[1] If you need to specify message or message-type.\n\n## Usage\n\n```yaml\nname: pre deploy message\n\non:\n    workflow_dispatch:\n\njobs:    \n    pre-deploy-message:\n      runs-on: ubuntu-20.04\n        needs:\n          - tag\n        steps:\n          - name: clone slack-messages-action\n            uses: actions/checkout@v2\n            with:\n              repository: apify/slack-messages-action\n              ref: refs/tags/v2.0.0\n              path: ./.github/actions/slack-messenger\n    \n          - name: pre deploy message\n            uses: ./.github/actions/slack-messenger\n            with:\n              slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}\n              message: \":large_green_circle: *Deploy started*\"\n              color: \"#0066ff\"\n              slack-channel: C01LBJK4FHA\n              version-tag: v0.416.0\n```\n\nOr you can use prepared message, you can find list of prepared messages in `/src/messages.ts`.\n```yaml\nname: pre deploy message\n\non:\n    workflow_dispatch:\n\njobs:    \n    pre-deploy-message:\n      runs-on: ubuntu-20.04\n        needs:\n          - tag\n        steps:\n          - name: clone slack-messages-action\n            uses: actions/checkout@v2\n            with:\n              repository: apify/slack-messages-action\n              ref: refs/tags/v2.0.0\n              path: ./.github/actions/slack-messenger\n    \n          - name: pre deploy message\n            uses: ./.github/actions/slack-messenger\n            with:\n              slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}\n              message-type: pre-deploy\n              slack-channel: C01LBJK4FHA\n              version-tag: v0.416.0\n```\n\n### Message\n![Slack message](./msg-example.png)\n\n# TBD\n\n- Tests\n- GitHub action for publishing new version\n\n## Contribution\n\n1. Update code in `./src`\n2. Run `npm i`\n3. Run `npm run all`\n4. Commit all changes including `./disc` folder with built code.\n5. Publish a new version of action using new release (It needs to be done manually)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fslack-messages-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fslack-messages-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fslack-messages-action/lists"}