{"id":22377728,"url":"https://github.com/someimportantcompany/github-actions-slack-message","last_synced_at":"2026-03-11T15:03:12.698Z","repository":{"id":38613504,"uuid":"290877498","full_name":"someimportantcompany/github-actions-slack-message","owner":"someimportantcompany","description":"Send messages to Slack from GitHub Actions.","archived":false,"fork":false,"pushed_at":"2024-10-06T19:24:30.000Z","size":954,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-11T05:19:23.481Z","etag":null,"topics":["chatops","github-actions","message","slack"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/slack-message","language":"JavaScript","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/someimportantcompany.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-27T20:42:02.000Z","updated_at":"2025-05-24T22:57:22.000Z","dependencies_parsed_at":"2024-01-30T23:31:35.609Z","dependency_job_id":"3ab94462-37e6-4eed-a83c-bd07556d0aee","html_url":"https://github.com/someimportantcompany/github-actions-slack-message","commit_stats":{"total_commits":110,"total_committers":4,"mean_commits":27.5,"dds":0.0636363636363636,"last_synced_commit":"969d01ed2e48e3a7d68b7c57004bfd1b6bbc6e85"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/someimportantcompany/github-actions-slack-message","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fgithub-actions-slack-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fgithub-actions-slack-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fgithub-actions-slack-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fgithub-actions-slack-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/someimportantcompany","download_url":"https://codeload.github.com/someimportantcompany/github-actions-slack-message/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someimportantcompany%2Fgithub-actions-slack-message/sbom","scorecard":{"id":837459,"data":{"date":"2025-08-11","repo":{"name":"github.com/someimportantcompany/github-actions-slack-message","commit":"affec4c6b1c0c26832f3d2f0248faf2bcab30f9a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/cicd.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/someimportantcompany/github-actions-slack-message/cicd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cicd.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/someimportantcompany/github-actions-slack-message/cicd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cicd.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/someimportantcompany/github-actions-slack-message/cicd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/someimportantcompany/github-actions-slack-message/test.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T19:30:11.021Z","repository_id":38613504,"created_at":"2025-08-23T19:30:11.021Z","updated_at":"2025-08-23T19:30:11.021Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30385036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T14:10:17.325Z","status":"ssl_error","status_checked_at":"2026-03-11T14:09:37.934Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["chatops","github-actions","message","slack"],"created_at":"2024-12-04T22:15:22.550Z","updated_at":"2026-03-11T15:03:12.676Z","avatar_url":"https://github.com/someimportantcompany.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack Message\n\n[![GitHub](https://badge.fury.io/gh/someimportantcompany%2Fgithub-actions-slack-message.svg)](https://badge.fury.io/gh/someimportantcompany%2Fgithub-actions-slack-message)\n[![CICD](https://github.com/someimportantcompany/github-actions-slack-message/workflows/CICD/badge.svg?branch=master\u0026event=push)](https://github.com/someimportantcompany/github-actions-slack-message/actions?query=workflow%3ACICD)\n[![Coverage](https://coveralls.io/repos/github/someimportantcompany/github-actions-slack-message/badge.svg)](https://coveralls.io/github/someimportantcompany/github-actions-slack-message)\n\nSend messages to Slack from GitHub Actions.\n\nThis action sends message to Slack during your GitHub Actions workflow. It takes a minimalist approach, showing a handful of metadata options like repository, branch \u0026 commit. You can optionally update message in-place to reduce noise in your Slack channel.\n\n## Usage\n\n```yml\n- uses: someimportantcompany/github-actions-slack-message@v1\n  with:\n    channel: ${{ env.SLACK_CHANNEL }}\n    bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n    text: Firing a bot-token message\n\n- uses: someimportantcompany/github-actions-slack-message@v1\n  with:\n    webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}\n    text: Firing a webhook message\n```\n\n![Individual messages](./Screenshot%202020-08-30%20at%2022.49.56.png)\n\n- Including a `color` wraps your message in a (soon to be deprecated) `attachments` block.\n- Links refer back to your repository, the branch \u0026 the commit.\n\n### Updating an existing message\n\nIf you are planning to send multiple Slack messages per invocation, and you'd prefer to update a single message instead of posting multiple messages, you can pass the first Slack message's `message-id` to future calls, thus updating in place. **A `bot-token` is required to update messages.**\n\n```yml\n- uses: someimportantcompany/github-actions-slack-message@v1\n  id: slack\n  with:\n    channel: ${{ env.SLACK_CHANNEL }}\n    bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n    text: Deployment started\n\n- run: npm run deploy\n\n- uses: someimportantcompany/github-actions-slack-message@v1\n  with:\n    channel: ${{ env.SLACK_CHANNEL }}\n    bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n    text: Deployment finished\n    color: good\n    message-id: ${{ steps.slack.outputs.message-id }}\n```\n\n![Updating message](./Screenshot%202020-08-30%20at%2022.48.56.gif)\n\n### Additional colors\n\nAlongside the Slack default colors `good`, `warning` \u0026 `danger`, this action supports some additional colors for convenience:\n\n| Key | Value |\n| ---- | ---- |\n| `success` | `good` |\n| `failure` | `danger` |\n| `info` | ![#17a2b8](https://via.placeholder.com/25/17a2b8/000000?text=+) |\n| `gray` | ![#B6B6B6](https://via.placeholder.com/25/B6B6B6/000000?text=+) |\n| `grey` | ![#B6B6B6](https://via.placeholder.com/25/B6B6B6/000000?text=+) |\n| `orange` | ![#FF4500](https://via.placeholder.com/25/FF4500/000000?text=+) |\n| `purple` | ![#9400D3](https://via.placeholder.com/25/9400D3/000000?text=+) |\n\n```yml\n- uses: someimportantcompany/github-actions-slack-message@v1\n  with:\n    webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}\n    text: Build finished\n    color: good # Slack already-supported color\n\n- uses: someimportantcompany/github-actions-slack-message@v1\n  with:\n    webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}\n    text: Build failed\n    color: failed # Aliased color\n```\n\n### Running if-success or if-failure\n\nUsing built-in Actions conditionals, you can send an error if the job succeeded or failed.\n\n```yml\n- uses: someimportantcompany/github-actions-slack-message@v1\n  if: success()\n  with:\n    webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}\n    text: Build passed\n    color: success\n- uses: someimportantcompany/github-actions-slack-message@v1\n  if: failure()\n  with:\n    webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}\n    text: Build failed\n    color: failure\n```\n\n## Inputs\n\n| Key | Description |\n| ---- | ---- |\n| `text` | **Required**. The text to send to Slack, see [Slack's documentation for formatting](https://api.slack.com/reference/surfaces/formatting#basics). |\n| `color` | Specify the color of the Slack attachment. |\n| `bot-token` | **Required if** `webhook-url` was not provided - a Slack bot token to send messages with. |\n| `webhook-url` | **Required if** `bot-token` was not provided - a Slack webhook URL to send messages to. |\n| `channel` | A channel to send messages to - required if `bot-token` was provided. |\n| `message-id` | The ID of the existing Slack message to update - only valid if `bot-token` was provided. |\n| `title` | The title of the Slack message, optional. |\n| `image-url` | The image URL for attachment |\n| `thumb-url` | The thumb URL for attachment |\n\n## Outputs\n\n| Key | Description |\n| ---- | ---- |\n| `message-id` | The ID of the message sent to Slack - pass to the `message-id` input to update. |\n\n## Setup\n\nTo use this GitHub Action with your Slack workspace, you'll need a [Slack bot token](https://api.slack.com/methods/chat.postMessage) or [Slack webhook URL](https://api.slack.com/messaging/webhooks), both can be generated by [making a Slack app](https://api.slack.com/authentication/basics).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeimportantcompany%2Fgithub-actions-slack-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomeimportantcompany%2Fgithub-actions-slack-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeimportantcompany%2Fgithub-actions-slack-message/lists"}