GitHub Actions "Input required and not supplied: github-token"
By Kaveh Alemi·Latchkey
Some actions declare github-token as a required input with no default. If the workflow omits it (or passes an empty secret), the action fails immediately for a missing required input.
What this error means
An action fails at startup with "Input required and not supplied: github-token", even though GITHUB_TOKEN exists, because the action does not default to it.
github-actions
Error: Input required and not supplied: github-token
Common causes
Token input omitted
The action requires github-token explicitly and the with: block did not provide it.
Empty or undefined secret passed
github-token was set to a secret that is empty or undefined, which the action treats as not supplied.
How to fix it
Pass a valid github-token
Add github-token to the action's with: block.
Use secrets.GITHUB_TOKEN or a PAT with the needed scope.
Confirm the referenced secret is actually populated.