Cannot add secrets

When trying to add a secret via the API or the UI, I get a “422” with “Validation Failed”. This doesn’t happen with other secrets, but this secret is 40 characters long. It also just started happening today it seems, as I was able to add the same secret beforehand.

Hey there, I’m actually “mrs-gitty” I posted on the wrong account hilariously… That is my organizations automated account. At any rate, I am suffering from the above issue.

Hi there,

We don’t want to know the value of the secret, but can we check on the name. We recently enforced the requirement as documented here:

https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#naming-conventions-for-environment-variables

So can we check your secret does not start with GITHUB_ please?

Thanks

1 Like

That’s exactly the issue! Feel free to close this and thanks for your help. 

You are welcome, sorry about that.