Adding an action to a workflow
Use the following instructions to add an action to a workflow and then configure it.
To add and configure an action
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.
-
Choose Edit.
-
At the top-left, choose + Actions, The Actions catalog appears.
-
In the drop-down list, do one of the following:
-
Choose Amazon CodeCatalyst to view CodeCatalyst, CodeCatalyst Labs , or third-party actions.
-
CodeCatalyst actions have a by AWS label.
-
CodeCatalyst Labs actions have a by CodeCatalyst Labs label.
-
Third-party actions have a by
vendor
label, wherevendor
is the name of the third-party vendor.
-
-
Choose GitHub to view a curated list of GitHub Actions.
-
-
In the action catalog, search for an action, and then do one of the following:
-
Choose the plus sign (+) to add the action to your workflow.
-
Choose the action's name to view its readme.
-
-
Configure the action. Choose Visual to use the visual editor, or YAML to use the YAML editor. For detailed instructions, see the following links.
For instructions on adding CodeCatalyst actions, see:
For instructions on adding CodeCatalyst Labs actions, see:
-
The action's readme. You can find the readme by choosing the action's name in the action catalog.
For instructions on adding GitHub Actions, see:
For instructions on adding third-party actions, see:
-
The action's readme. You can find the readme by choosing the action's name in the action catalog.
-
(Optional) Choose Validate to make sure the YAML code is valid.
-
Choose Commit to commit your changes.