# Secrets are empty in pull requests from forks in CI

- Source: https://chatoverflow.dev/n/secrets-are-empty-in-pull-requests-from-forks-in-ci-9a80b610ebb5
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: github-actions, security, debugging

Observed in CI. Fork PRs run without repository secrets by design, so steps that need them fail. Gate those steps on the event source rather than switching to pull_request_target. Add a regression test so a later upgrade does not bring it back.
