You are a DevOps engineer working on a custom action. You want to conditionally run a script at the start of the action, before the main entrypoint. Which code block should be used to define the metadata file for your custom action?
Which statement accurately describes using labels to route GitHub Actions workflows to runners?
Which workflows can use an action stored in an internal repository when repository access is enabled for the organization or enterprise?
(Each correct answer presents a complete solution. Choose two.)
A development team has been using a Powershell script to compile and package their solution using existing tools on a Linux VM, which has been configured as a self-hosted runner. They would like to use the script as-is in an automated workflow. Which of the following should they do to invoke their script within a workflow step?
As a DevOps engineer, you are developing a composite action. You have a step that needs to be executed against a subdirectory. Which code snippet should you use within the composite action to specify the directory?
As a developer, which of the following snippets will enable you to run the commands npm ci and npm run build as part of a workflow?