{"id":25506445,"url":"https://github.com/datadesk/notify-slack-on-build","last_synced_at":"2026-04-29T23:31:47.240Z","repository":{"id":65155430,"uuid":"288629556","full_name":"datadesk/notify-slack-on-build","owner":"datadesk","description":"A GitHub Action that posts a message to Slack with the latest status of a baker page deployment","archived":false,"fork":false,"pushed_at":"2022-12-01T19:18:17.000Z","size":465,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-25T09:41:51.352Z","etag":null,"topics":["actions","baker","journalism","news","nodejs","slack"],"latest_commit_sha":null,"homepage":"https://github.com/datadesk/baker","language":"TypeScript","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/datadesk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-19T04:03:04.000Z","updated_at":"2022-12-01T18:26:48.000Z","dependencies_parsed_at":"2023-01-05T13:15:04.020Z","dependency_job_id":null,"html_url":"https://github.com/datadesk/notify-slack-on-build","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.5185185185185186,"last_synced_commit":"eb4ea39120e90dc23d395a028eb036965ea263af"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/datadesk/notify-slack-on-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadesk%2Fnotify-slack-on-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadesk%2Fnotify-slack-on-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadesk%2Fnotify-slack-on-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadesk%2Fnotify-slack-on-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadesk","download_url":"https://codeload.github.com/datadesk/notify-slack-on-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadesk%2Fnotify-slack-on-build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["actions","baker","journalism","news","nodejs","slack"],"created_at":"2025-02-19T06:42:16.144Z","updated_at":"2026-04-29T23:31:47.221Z","avatar_url":"https://github.com/datadesk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notify-slack-on-build\n\nA GitHub Action that posts a message to Slack with the latest status of a [`baker`](https://github.com/datadesk/baker) page deployment\n\n## Configuration\n\nBefore you can use this action, you need to create and install a Slack bot application with \"OAuth scope\" permissions that allow it to write messages and list channels. Slack's documentation includes [a guide you can follow](https://slack.com/help/articles/115005265703-Create-a-bot-for-your-workspace). As of this writing, the bot requires `channels:join`, `channels:read`, `chat:write` and `groups:read` scopes. \n\nOnce you have a bot token with the proper permissions, you should make a channel for it to post into and ensure that it is invited to join. Then you need to edit your repository's settings and add two encrypted secrets that the action will use to post as the bot. GitHub has [a guide on how to do that](https://docs.github.com/en/actions/security-guides/encrypted-secrets). They are:\n\nsecret|description\n:-----|:----------\n`BAKER_BOT_SLACK_TOKEN`|Your bot's secret API key, found in the OAuth section of its configuration panel\n`BAKER_BOT_SLACK_CHANNEL_NAME`|The name of the Slack channel where your bot is authorized to post\n\n## Basic usage\n\nSee [action.yml](https://github.com/datadesk/notify-slack-on-build/blob/main/action.yml):\n\n```yaml\nsteps:\n# Install the dependencies\n- uses: actions/checkout@v3\n- uses: actions/setup-node@v3\n  with:\n    node-version: 16\n\n# Send first Slack notification\n- id: slack\n  name: Create Slack notification\n  uses: datadesk/notify-slack-on-build@v3\n  with:\n    slack-token: ${{ secrets.BAKER_BOT_SLACK_TOKEN }}\n    channel-name: ${{ secrets.BAKER_BOT_SLACK_CHANNEL_NAME }}\n    status: in_progress\n    url: https://yourdomain.com/your-slug/\n\n# Build your `baker` page and whatever else you'd like to do, like linting and deployment\n- run: npm run build\n\n# Send final Slack notification\n- name: Update Slack notification (success)\n  if: success()\n  uses: datadesk/notify-slack-on-build@v3\n  with:\n    slack-token: ${{ secrets.BAKER_BOT_SLACK_TOKEN }}\n    channel-id: ${{ steps.slack.outputs.channel-id }}\n    status: success\n    url: https://yourdomain.com/your-slug/\n    message-id: ${{ steps.slack.outputs.message-id }}\n\n- name: Update Slack notification (failure)\n  if: failure()\n  uses: datadesk/notify-slack-on-build@v3\n  with:\n   slack-token: ${{ secrets.BAKER_BOT_SLACK_TOKEN }}\n   channel-id: ${{ steps.slack.outputs.channel-id }}\n   status: failure\n   url: https://yourdomain.com/your-slug/\n   message-id: ${{ steps.slack.outputs.message-id }}\n```\n\n## Releasing\n\nReleasing a new version requires three steps. After you finish making your edits to the `src` directory, you should compile the final distribution in `dist/`.\n\n```bash\nnpm run package\n```\n\nThen update the examples in the README to point to the version number you plan to release. Finally, issue a [new GitHub release](https://github.com/datadesk/notify-slack-on-build/releases) with that same version name.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadesk%2Fnotify-slack-on-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadesk%2Fnotify-slack-on-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadesk%2Fnotify-slack-on-build/lists"}