Composite Actions Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Create and Troubleshoot Custom Actions

What you'll be asked

  1. Which file is required in the root of a repository to define a composite action?
  2. When defining a composite action, which keyword is used to group the sequence of commands or other actions?
  3. If you want to pass data from a workflow into your composite action, which section must you define in your action.yml file?
  4. You have a composite action that runs a shell script. How do you reference an input named 'username' within your shell command?
  5. You are troubleshooting a composite action and notice that an output variable defined in the action is not available in the subsequent steps of the calling workflow. What is the most likely cause?

Answers and explanations come after you submit.