'Connecting a Slack webhook to GitHub

First of all, I'm not sure if this is the place to post this, but this is my last stop to get this fixed.

I've been trying to connect a Slack WebHook with a GitHub repository and I fail every time.

The steps I followed:

  1. Create a webhook (both individually and using a new slack app) Copy
  2. Copy the hook URL and paste in the new hook option in the GitHub repo.
  3. Then when I create it, it gives me an error.

BTW, what should I add to the "Secret" field?

Please check the screenshot for more info.

Creating the hook

Then I get the below error.

Error

Let me know if I'm doing something wrong.



Solution 1:[1]

Not sure if this is still valid, but as I am also trying to create this connection, I found a possible solution in the GH Marketplace: https://github.com/marketplace/actions/slack-webhook-for-github-actions

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 discombobulateme