An org secret is visible to the repo in Settings but empty in a private repo's workflow.
IntermediateTroubleshootingPermissions, Tokens & Secrets
Answer
Likely causes → The org secret's visibility is "Private repositories" but the repo is internal, or "Selected repositories" no longer includes it; or the plan does not allow org secrets for private repos.
Diagnose →
gh api orgs/devopsshack/actions/secrets/NEXUS_TOKEN --jq .visibility
gh api orgs/devopsshack/actions/secrets/NEXUS_TOKEN/repositories --jq '.repositories[].name'
Fix → Add the repo to selected repos or change visibility.
Prevent → Manage org secrets with Terraform (github_actions_organization_secret) so access is reviewed.
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.Beginner`Error: Input required and not supplied: token` on a fork PR.BeginnerReleases created by a workflow do not trigger the `on: release` deploy workflow.Intermediate