An action is a sequence of steps that can be used within a job
An action is described directly on your repository inside the directory .cds/actions
To be able to manage actions you will need the permission manage-action
on your project
name: test-parent-action2
description: simple parent action as code
inputs:
name:
description: my description
required: true
default: Steven
workflow:
description: event receive
default: ${{ cds.workflow }}
runs:
steps:
- run: |
echo "Welcome ${{ inputs.name }}
name
: The name of your workflowdescrption
: information about the actioninputs
: action inputs
inputs.description
required
: indicates if the inputs is mandatorydefault
: default valueruns.steps
: the list of steps executed by the action