-
I’m trying to pass a GitHub Personal Access Token from a bot user to a reusable workflow, but I can’t get it to work.
But I get these errors when the action runs because the
But I’m sure the secret exists and is readable by that repo: What am I doing wrong? Or is this a bug? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Does anyone know if this is a bug or I’m doing something wrong? |
Beta Was this translation helpful? Give feedback.
-
One issue I see is that you are trying to set
Automatic token authentication - GitHub DocsIf you want to use your own token, you should use a different variable name. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I just got back to working on this issue and noticed I missed the notification for your reply. I’m not setting |
Beta Was this translation helpful? Give feedback.
-
The problem even persists if I rename the variable: So I don’t think this has something to do with |
Beta Was this translation helpful? Give feedback.
-
I contacted GitHub support and they found the problem: The secret should’ve been set as a Dependabot secret at the org level… Not a regular secret. |
Beta Was this translation helpful? Give feedback.
I contacted GitHub support and they found the problem: The secret should’ve been set as a Dependabot secret at the org level… Not a regular secret.