github slackapi/slack-github-action v3.0.0
Slack GitHub Action v3.0.0

9 hours ago

The @v3.0.0 release had a hiccup on publish and we recommend using @v3.0.1 or a more recent version when updating! Oops!

๐ŸŽฝ Running Slack CLI commands and the active Node runtime, both included in this release ๐Ÿ‘Ÿ โœจ

โš ๏ธ Breaking change: Node.js 24 the runtime

This major version updates the GitHub Actions required runtime to Node.js 24. Most GitHub-hosted runners already include this, but self-hosted runners may need to be updated ahead of planned deprecations of Node 20 on GitHub Actions runners.

๐Ÿ“บ Enhancement: Run Slack CLI commands

This release introduces a new technique for running Slack CLI commands directly in GitHub Actions workflows. Use this to install the latest version (or a specific one) of the CLI and execute commands like deploy for merges to main, manifest validate with tests, and other commands.

Gather a token using the following CLI command to store with repo secrets, then get started with an example below:

$ slack auth token

๐Ÿงช Validate an app manifest on pull requests

Check that your app manifest is valid before merging changes:

๐Ÿ”— https://docs.slack.dev/tools/slack-github-action/sending-techniques/running-slack-cli-commands/validate-a-manifest

- name: Validate the manifest
  uses: slackapi/slack-github-action/cli@v3.0.0
  with:
    command: "manifest validate --app ${{ vars.SLACK_APP_ID }}"
    token: ${{ secrets.SLACK_SERVICE_TOKEN }}

๐Ÿš€ Deploy your app on push to main

Automate deployments whenever changes land on your main branch:

๐Ÿ”— https://docs.slack.dev/tools/slack-github-action/sending-techniques/running-slack-cli-commands/deploy-an-app

- name: Deploy the app
  uses: slackapi/slack-github-action/cli@v3.0.0
  with:
    command: "deploy --app ${{ vars.SLACK_APP_ID }} --force"
    token: ${{ secrets.SLACK_SERVICE_TOKEN }}

Any Slack CLI command can be passed through the command option without the "slack" prefix ๐Ÿ€

The token input accepts a service token for authentication. You can gather this token by running slack auth token with the Slack CLI and storing the value as a repository secret.

The latest Slack CLI version is used by default, but a specific one can be set with the version input.


๐Ÿ† Huge thanks to @ewanek1 for explorations and prototypes toward the scripted CLI technique!

For full documentation on the CLI technique, check out the docs and explore the related pages ๐Ÿ“š

What's Changed

๐Ÿ‘พ Enhancements

  • feat: support slack cli commands with composite action inputs in #560 - Thanks @zimeg!
  • build!: update node runtime to version 24 in #567 - Thanks @desrosj!

๐Ÿงฐ Maintenance

  • chore: update steps taken to release a new latest tag and version in #439 - Thanks @zimeg!
  • chore: Add .github/CODEOWNERS file in #509 - Thanks @mwbrooks!
  • build: match the node types package and node version in #531 - Thanks @zimeg!
  • test: use node test runner to assert expected cases in #538 - Thanks @zimeg!
  • test: switch junit test reporter for lcov results to upload in #539 - Thanks @zimeg!
  • build: update @actions dependencies to versions with esm support in #547 - Thanks @zimeg!
  • ci(deps): auto-approve / auto-merge dependencies from dependabot in #548 - Thanks @mwbrooks!
  • build: ignore dist when linting and formating in #550 - Thanks @zimeg!
  • ci: run tests without permission checks for origin pull requests in #553 - Thanks @zimeg!
  • chore(release): tag version 3.0.0 in #575 - Thanks @zimeg!

๐Ÿ“š Documentation

  • docs: updates links to point to docs.slack.dev/tools* paths in #485 - Thanks @lukegalbraithrussell!
  • docs: fix typos and misspellings in descriptions in #530 - Thanks @szepeviktor!
  • docs: move pull request requirements instructions into a comment in #551 - Thanks @zimeg!
  • docs: redirect links to the current developer documentation pages in #532 - Thanks @zimeg!

๐ŸŽ Dependencies

  • build(deps): bump @actions/core from 1.11.1 to 2.0.1 in #526 - Thanks @dependabot[bot]!
  • build(deps): bump @actions/github from 6.0.1 to 7.0.0 in #537 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/logger from 4.0.0 to 4.0.1 in #573 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/web-api from 7.9.3 to 7.10.0 in #497 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/web-api from 7.10.0 to 7.12.0 in #506 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/web-api from 7.12.0 to 7.13.0 in #514 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/web-api from 7.13.0 to 7.14.1 in #564 - Thanks @dependabot[bot]!
  • build(deps): bump @slack/web-api from 7.14.1 to 7.15.0 in #574 - Thanks @dependabot[bot]!
  • build(deps): bump actions/checkout from 4.2.2 to 5.0.0 in #495 - Thanks @dependabot[bot]!
  • build(deps): bump actions/checkout from 5.0.0 to 6.0.0 in #519 - Thanks @dependabot[bot]!
  • build(deps): bump actions/checkout from 6.0.0 to 6.0.1 in #522 - Thanks @dependabot[bot]!
  • build(deps): bump actions/checkout from 6.0.1 to 6.0.2 in #540 - Thanks @dependabot[bot]!
  • build(deps): bump actions/setup-node from 4.4.0 to 5.0.0 in #494 - Thanks @dependabot[bot]!
  • build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 in #503 - Thanks @dependabot[bot]!
  • build(deps): bump actions/setup-node from 6.0.0 to 6.1.0 in #523 - Thanks @dependabot[bot]!
  • build(deps): bump actions/setup-node from 6.1.0 to 6.2.0 in #541 - Thanks @dependabot[bot]!
  • build(deps): bump actions/setup-node from 6.2.0 to 6.3.0 in #569 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.10.0 to 1.11.0 in #478 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.11.0 to 1.12.2 in #493 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.12.2 to 1.13.2 in #515 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.13.2 to 1.13.4 in #543 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.13.4 to 1.13.5 in #558 - Thanks @dependabot[bot]!
  • build(deps): bump axios from 1.13.5 to 1.13.6 in #565 - Thanks @dependabot[bot]!
  • build(deps): bump codecov/codecov-action from 5.4.3 to 5.5.1 in #496 - Thanks @dependabot[bot]!
  • build(deps): bump codecov/codecov-action from 5.5.1 to 5.5.2 in #525 - Thanks @dependabot[bot]!
  • build(deps): bump form-data from 4.0.0 to 4.0.4 in #477 - Thanks @dependabot[bot]!
  • build(deps): bump glob from 10.4.5 to 10.5.0 in #512 - Thanks @dependabot[bot]!
  • build(deps): bump https-proxy-agent from 7.0.6 to 8.0.0 in #572 - Thanks @dependabot[bot]!
  • build(deps): bump js-yaml from 4.1.0 to 4.1.1 in #510 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.0.6 to 2.1.3 in #482 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.1.3 to 2.2.4 in #499 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.2.4 to 2.3.2 in #507 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.3.10 to 2.3.11 in #534 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.3.11 to 2.3.13 in #545 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.3.13 to 2.4.4 in #563 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.3.3 to 2.3.8 in #518 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.3.8 to 2.3.10 in #527 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @biomejs/biome from 2.4.4 to 2.4.6 in #570 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 24.0.8 to 24.1.0 in #483 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 24.1.0 to 24.6.1 in #498 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 24.6.1 to 24.9.2 in #504 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 24.10.0 to 24.10.1 in #517 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 20.19.27 to 20.19.28 in #535 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 20.19.28 to 20.19.30 in #546 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/node from 20.19.30 to 20.19.35 in #562 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @types/sinon from 17.0.4 to 21.0.0 in #516 - Thanks @dependabot[bot]!
  • build(deps-dev): bump @vercel/ncc from 0.38.3 to 0.38.4 in #528 - Thanks @dependabot[bot]!
  • build(deps-dev): bump chai from 5.1.2 to 6.2.0 in #508 - Thanks @dependabot[bot]!
  • build(deps-dev): bump mocha from 11.7.1 to 11.7.3 in #500 - Thanks @dependabot[bot]!
  • build(deps-dev): bump mocha from 11.7.3 to 11.7.4 in #505 - Thanks @dependabot[bot]!
  • build(deps-dev): bump sinon from 21.0.0 to 21.0.1 in #524 - Thanks @dependabot[bot]!
  • build(deps-dev): bump sinon from 21.0.1 to 21.0.2 in #571 - Thanks @dependabot[bot]!
  • build(deps-dev): bump typescript from 5.8.3 to 5.9.2 in #481 - Thanks @dependabot[bot]!
  • build(deps-dev): bump typescript from 5.9.2 to 5.9.3 in #501 - Thanks @dependabot[bot]!

๐Ÿ‘‹ New Contributors

Full Changelog: v2.1.1...v3.0.0

Don't miss a new slack-github-action release

NewReleases is sending notifications on new releases.