Author and maintain actions Questions
Practice questions for Author and maintain actions topic in GitHub Actions. 37 questions covering this domain.
Which list names the three supported custom action types in GitHub Actions?
An action meets Marketplace requirements except that the repository also contains workflow files. What happens when the publisher tries to list the ac...
A published action is listed in GitHub Marketplace. The maintainer renames the metadata file from `action.yml` to `my-action.yml`. What is the likely ...
Which file must exist in the root of an action repository to define inputs, outputs, and how the action runs?
A composite action declares an input named `config-path`. Inside the action, how should the author reference that input?
Which statement about Docker container actions is correct?
An engineer wants a reusable unit that runs a sequence of steps as one step inside many workflows. Which choice fits best?
A team wants an action that packages its own runtime dependencies inside a container image and can write files that later workflow steps can access in...
Why do GitHub's JavaScript action docs recommend committing a bundled `dist/index.js` file?
What must runs.using be for a composite action's metadata?
A composite action defines an input named config-path. How should the action author read it inside the action?
An action metadata file marks an input as required: true, but a workflow omits it. What happens by default?
An author adds runs.pre to a JavaScript action and tests it as a local action in the same repository. Why does the pre script not run?
How does a composite action expose an output named artifact-id?
A composite action includes a run step in action.yml. What else must that step specify?
A JavaScript action should run on Node.js 24. Which runs.using value is correct?
A published action switches its metadata file name from action.yml to action.yaml between releases. What Marketplace effect is documented?
A Docker action uses pre-entrypoint and entrypoint. The pre script writes a file outside the workspace, but entrypoint cannot find it. Why?
A workflow references a local action at ./.github/actions/build-tools, but the step fails before the action loads. What should the team check first?
A team wants to run a public container image directly as an action step without creating a repository action. Which uses syntax is correct?
Sign in to see all 37 questions
Create a free account to browse all questions — completely free during our launch phase.