The most common beginner mistake with GitHub Actions secrets isn't accidentally committing them — it's putting them in the wrong place and then wondering why the deployment job can't read them.

Three Layers of Secrets in GitHub Actions

1. Repository Secrets

Available to all workflows in the repository:

GitHub repo → Settings → Secrets and variables → Actions → New repository secret