`Error: Input required and not supplied: token` on a fork PR.
BeginnerTroubleshootingPermissions, Tokens & Secrets
Answer
Likely causes → The step passes token: ${{ secrets.SOME_PAT }}, which is empty for forks.
Diagnose → Check whether the run is from a fork.
Fix → Skip the step for forks (if: github.event.pull_request.head.repo.full_name == github.repository) or use github.token where read access is enough.
Prevent → Design PR workflows to work without secrets.
More on Permissions, Tokens & Secrets
`Error: Resource not accessible by integration` when a workflow tries to comment on a PR.Beginner`remote: Permission to devopsshack/shack-api.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/devopsshack/shack-api/': The requested URL returned error: 403`Beginner`fatal: could not read Username for 'https://github.com': terminal prompts disabled` when cloning a second private repo.BeginnerA secret is empty in the workflow even though it is set in Settings.BeginnerReleases created by a workflow do not trigger the `on: release` deploy workflow.Intermediate`Error: HttpError: Resource not accessible by integration` when uploading SARIF to code scanning.Intermediate