GitHub 操作 returns 发生 HTTP 协议错误:发布松弛通知时 statusCode = 400

GitHub Actions returns An HTTP protocol error occurred: statusCode = 400 on posting slack notification

我一直在使用 sonots/slack-notice-action@v3 通过 github 操作工作流程发布松弛通知。但最近在发布通知时,工作流显示 An HTTP protocol error occurred: statusCode = 400.

我在网上找不到任何有用的东西,所以张贴在这里。谁能帮我解决这个问题?

您需要为 Slack 频道生成一个新的 Webhook。旧的已经过期了。几个月前我偶然发现了同样的问题。