GitHub Actions composite action "using: node20 required"
Every custom action declares runs.using. JavaScript actions must target a supported node runtime (node20), composite actions use composite, and Docker actions use docker. A missing or deprecated using value fails to load.
What this error means
An action referenced by a workflow fails to load because its action.yml runs.using is absent or set to an unsupported value.
github-actions
Error: the "using" property in your action.yml file must be set to "node20"
(or "composite"/"docker"). Found: "node12"Common causes
Deprecated node runtime
runs.using points at an end-of-life runtime such as node12 or node16 that is no longer supported.
Missing using for a composite action
A composite action omits runs.using: composite, so the runner cannot determine how to execute it.
How to fix it
Set a supported using value
- For JavaScript actions set runs.using to node20 and rebuild the bundle.
- For composite actions set runs.using: composite with a steps list.
- For Docker actions set runs.using: docker with an image.
action.yml
runs:
using: composite
steps:
- run: echo hello
shell: bashHow to prevent it
- Keep JavaScript actions on the current supported node runtime.
- Always declare runs.using explicitly in custom actions.
Related guides
GitHub Actions matrix job "reserved characters in name"Fix the GitHub Actions error where a matrix job name uses reserved or invalid characters that break run-name…
GitHub Actions "permissions must list valid scopes"Fix the GitHub Actions invalid workflow error where a permissions block lists an unknown scope or value.
GitHub Actions "reusable workflow exceeds nesting limit (4)"Fix the GitHub Actions error where reusable workflows are nested more than four levels deep.