Grouping actions into action groups - Amazon CodeCatalyst

Grouping actions into action groups

An action group contains one or more actions. Grouping actions into action groups helps you keep your workflow organized, and also allows you to configure dependencies between different groups.

Note

You cannot nest action groups within other action groups or actions.

Defining an action group

Use the following instructions to define an CodeCatalyst action group.

Visual

Not available. Choose YAML to view the YAML instructions.

YAML
To define a group
  1. Open the CodeCatalyst console at https://codecatalyst.aws/.

  2. Choose your project.

  3. In the navigation pane, choose CI/CD, and then choose Workflows.

  4. 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.

  5. Choose Edit.

  6. Choose YAML.

  7. In Actions, add code similar to the following:

    Actions: action-group-name: Actions: action-1: Identifier: aws/build@v1 Configuration: ... action-2: Identifier: aws/build@v1 Configuration: ...

    For another example, see Example: Defining two action groups. For more information, see the description of the action-group-name property in the Actions of the Workflow YAML definition.

  8. (Optional) Choose Validate to validate the workflow's YAML code before committing.

  9. Choose Commit, enter a commit message, and choose Commit again.