github Gamesight/slack-workflow-status v2.0.0

latest releases: v1, v2
4 hours ago

This release migrates the action to Node 24, refactors the codebase to ESM, and adds Slack Bot Token auth, workflow_run event support, and several new inputs. There are no breaking changes in this release.

Highlights

  • New slack_bot_token input for posting via the Slack Web API instead of an Incoming Webhook. When set, channel is required and accepts a name (#release), channel ID, or user ID for DMs. Falls back to the SLACK_BOT_TOKEN env var. Resolves #40.
  • New workflow_run input — set to 'true' when the action runs in a workflow triggered by the workflow_run event, to report on the upstream workflow rather than the current one. Based on community work by @swfz in #47 and @ashenm in #62, re-applied due to merge conflicts.
  • Workflow name is now hyperlinked to its branch-filtered run history. Based on community work by @sjohnr in #59, re-applied due to merge conflicts.
  • New hide_job_statuses input — comma-separated list of job conclusions to omit from the rendered job list (e.g. "skipped,cancelled"). The overall workflow color still reflects all jobs. Resolves #55.
  • New extra_text input for free-form content appended to the notification body — deploy URLs, ticket links, channel mentions, etc. Resolves #42.

Internal

  • Refactor to ESM, broken into focused modules (src/index.ts, inputs.ts, format.ts, slack.ts).
  • Test suite added with Vitest (58 tests).

Migrating from v1

Most workflows need no changes. To switch to bot-token auth:

- uses: Gamesight/slack-workflow-status@v2
  with:
    repo_token: ${{ secrets.GITHUB_TOKEN }}
    slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
    channel: '#deploys'

Pin to @v2 to track the latest 2.x, or @v2.0.0 for an immutable pin.

Contributors

Thanks to the contributors whose code is included in this release:

Thanks also to the issue reporters whose reports drove fixes in this release: @dalehenrich (#21), @sammcj (#40), @akramfstg (#42), @xcfw (#45), @TalhaNaeem101 (#55), @BarelElbazDeveleap (#58).

Full Changelog: v1.3.0...v2.0.0

Don't miss a new slack-workflow-status release

NewReleases is sending notifications on new releases.