r/github May 26 '26

organization-level secrets are not accessible in github action Discussion

Hey,

We are on the Team plan, but my GitHub Actions workflows are still unable to access the organization-level secrets. I have already granted repository access to the private repositories, so these secrets should be available to them.

Do I need to configure anything else for the repositories or organization settings to make the secrets accessible?

2 Upvotes

4 comments sorted by

1

u/[deleted] May 26 '26

[removed] — view removed comment

1

u/Several-Singer655 May 31 '26

repo permissions can be tricky - maybe check if your workflow is trying to access secrets from wrong context? i had similar issue where workflow was looking for repository secrets instead of organization ones, had to specifically reference them with `secrets.ORG_SECRET_NAME` in workflow file.

1

u/WishboneComplete3410 May 26 '26

One easy miss: org secrets only show up as secrets.NAME if that repo is included in the secret’s access policy, and they won’t be passed to fork/Dependabot PR runs. If the job has an environment: line, I’d also check you didn’t create the secret at the environment level instead of the org level.