Run slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c
Error: Missing input! Either a method or webhook is required to take action.
SlackError: Missing input! Either a method or webhook is required to take action.
at Config.validate (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210:1)
at new Config (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:126:1)
at send (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/send.js:12:1)
at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/index.js:9:1
at __nccwpck_require__.a (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/runtime/async module:49:1)
at Object.9722 (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/dist/index.js:47275:21)
at __nccwpck_require__ (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/bootstrap:21:1)
at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/startup:4:1
at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
at node:internal/modules/esm/loader:639:26
file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210
throw new SlackError(
^
SlackError: Missing input! Either a method or webhook is required to take action.
at Config.validate (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:210:1)
at new Config (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/config.js:126:1)
at send (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/send.js:12:1)
at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/src/index.js:9:1
at __nccwpck_require__.a (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/runtime/async module:49:1)
at Object.9722 (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/dist/index.js:47275:21)
at __nccwpck_require__ (file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/bootstrap:21:1)
at file:///home/runner/work/_actions/slackapi/slack-github-action/45a88b9581bfab2566dc881e2cd66d334e621e2c/webpack/startup:4:1
at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
at node:internal/modules/esm/loader:639:26
Description
For the last few weeks,
breaking-change-alerthas been failing in cuDF (and probably elsewhere) like this:Reproducible Example
Recent example: https://github.com/rapidsai/cudf/actions/runs/26760834821
Notes
Looking through the blame (rapidsai/shared-workflows) I see the
slackapi/slack-github-actionhad the following recent updates:2 months ago: 2.1.1 0 -> 3.0.1(chore(deps): update slackapi/slack-github-action action to v3 #513)
The last successful run was May 8th (https://github.com/rapidsai/cudf/actions/workflows/trigger-breaking-change-alert.yaml?query=is%3Asuccess)... which means maybe we were broken by a patch-version bump? 🙃
Approach
(task list added after finding the root cause in )
shared-workflows: rename input, update docs (breaking-change-alert: fix webhook URL passing #561)Then, fix all callers (GitHub search)