CI/CD error Error: Input required and not supplied: token
A GitHub Action in your workflow expects an input (often a token) that wasn't passed, usually a missing `with:` value or an unset secret.
Why this happens
- The workflow YAML is missing the `with:` block the action requires
- The referenced secret (e.g. `secrets.GITHUB_TOKEN` or a custom PAT) isn't available in this context, which is common on forked-PR workflows, since they don't get repo secrets by default
How to fix it
- Check the action's docs for its required inputs and confirm your `with:` block supplies all of them
- For fork-triggered workflows, remember secrets aren't passed through by default. Use `pull_request_target` deliberately (and carefully) or restructure the workflow so untrusted code doesn't need the secret