- Symptom
- Input required and not supplied: tokenDeploy previews or coverage uploads fail only on contributor PRsComment steps fail with 403 on fork PRs
- Cause
- For pull_request events from forked repositories, GitHub withholds every secret except GITHUB_TOKEN, and that token gets read only permissions.
- Fix
- Run untrusted build steps without secrets, then do privileged work in a separate workflow_run workflow that never checks out fork code.
- Apply
on: workflow_run: workflows: ["CI"] types: [completed] jobs: comment: if: github.event.workflow_run.conclusion == 'success' permissions: pull-requests: write runs-on: ubuntu-latest steps: - run: echo "post results here without checking out PR code"- Affected
- GitHub Actions pull_request events from forks, as of October 2026
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders