Configuring approval notifications
You can have CodeCatalyst send a notification to a Slack channel informing users that a workflow run requires an approval. Users see the notification and click the link inside of it. The link takes them to a CodeCatalyst approvals page where they can either approve or reject the workflow.
You can also configure notifications to inform users that a workflow was approved, rejected, or that the approval request has expired.
Use the following instructions to set up Slack notifications.
Before you begin
Make sure you have added an Approval gate to your workflow. For more information, see Adding an 'Approval' gate.
To send workflow approval notifications to a Slack channel
-
Configure CodeCatalyst with Slack. For more information, see Getting started with Slack notifications.
-
In the CodeCatalyst project that contains the workflow that requires an approval, enable notifications, if they're not already enabled. To enable notifications:
-
Navigate to your project and in the navigation pane, choose Project settings.
-
At the top, choose Notifications.
-
In Notification events, choose Edit notifications.
-
Turn on Workflow approval pending and choose a Slack channel where CodeCatalyst will send the notification.
-
(Optional) Turn on additional notifications to alert people about approved, rejected, and expired approvals. You can turn on Workflow run approved, Workflow run rejected, Workflow approval superseded, and Workflow approval timed out. Next to each notification, choose the Slack channel where CodeCatalyst will send the notification.
-
Choose Save.
-