-
-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack notifications not working #1627
Comments
@UNiXMIT I have had the same issue with the last two or three releases, don't think it has ever worked. |
Hi @UNiXMIT will check soon, thank you! |
@Alex-Giaquinto I've had slack notifications working on 2.9.4.
On 2.9.37 running on Rcky Linux VM, i am getting the above now |
I've noticed in my playbooks I am now getting My config looks like slack-alert true |
For me it's working but only for Task ending in success Color defined here: https://github.com/ansible-semaphore/semaphore/blob/570a9d323ab02834041bddaf91fa651b5a9f1c69/services/tasks/alert.go#L205 The color to use is "danger" I am testing this with Discord Slack compatibility tough |
I've configured Slack in Semaphore:
I've enabled alerts everywhere I could find a checkbox in the UI:
"Allow alerts for this project" set on the project.
"Send alerts" is set for the user.
The task does NOT have to be "Suppress success alerts" checked.
But still no notification sent when a task succeeds.
I am running version 2.9.37 in a container on Linux (Rocky 9.2).
A curl command to the same webhook from within the container is successful.
Any ideas what could be wrong or any diagnostics I can check to investigate this further?
Thanks
The text was updated successfully, but these errors were encountered: