Approving or rejecting a workflow run
Workflow runs that include the Approval gate will need to be approved or rejected. Users can provide their approval or rejection starting from:
-
the CodeCatalyst console
-
a link provided by a team member
-
an automated Slack notification
After a user provides their approval or rejection, this decision cannot be undone.
Note
Only certain users can approve or reject a workflow run. For more information, see Who can provide an approval?.
Before you begin
Make sure you have added an Approval gate to your workflow. For more information, see Adding an 'Approval' gate.
To approve or reject a workflow run starting from the CodeCatalyst console
Open the CodeCatalyst console at https://codecatalyst.aws/
. -
Choose your project.
-
In the navigation pane, choose CI/CD, and then choose Workflows.
-
Choose the name of your workflow. You can filter by the source repository or branch name where the workflow is defined, or filter by workflow name or status.
-
In the workflow diagram, choose the box representing the Approval gate.
A side panel appears.
Note
At this point, you can send the URL of this page to other approvers if you want.
-
Under Review decision, choose Approve or Reject.
-
(Optional) In Comment - optional, enter a comment indicating why you approved or rejected the workflow run.
-
Choose Submit.
To approve or reject a workflow run starting from a link provided by a team member
-
Choose the link sent to you by your team member. (You can have your team member read the preceding procedure to obtain the link.)
-
Sign in to CodeCatalyst, if asked.
You are redirected to the workflow run approval page.
-
Under Review decision, choose Approve or Reject.
-
(Optional) In Comment - optional, enter a comment indicating why you approved or rejected the workflow run.
-
Choose Submit.
To approve or reject a workflow run starting from an automated Slack notification
-
Make sure Slack notifications are set up. See Configuring approval notifications.
-
In Slack, in the channel to which the approval notification was sent, choose the link in the approval notification.
-
Sign in to CodeCatalyst, if asked.
You are redirected to the workflow run page.
-
In the workflow diagram, choose the approval gate.
-
Under Review decision, choose Approve or Reject.
-
(Optional) In Comment - optional, enter a comment indicating why you approved or rejected the workflow run.
-
Choose Submit.