You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added the github app app_id as GH_APP_ID in the repository action secrets, and I have generated a private key in my app. I have added the key in its entirety (including the BEGIN RSA and END RSA) as GH_APP_KEY also in the repository action secrets.
My issue now is that when the action runs in the remote repository, I get the following error: Error: Bad credentials
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As specified in the documentation, it is said that one can use this action in order to commit and open PRs with a Github app.
After some trouble I managed to make it work and it seems to be using the token if I pass it as a env variable first.
See the code below:
I have added the github app
app_id
asGH_APP_ID
in the repository action secrets, and I have generated a private key in my app. I have added the key in its entirety (including the BEGIN RSA and END RSA) asGH_APP_KEY
also in the repository action secrets.My issue now is that when the action runs in the remote repository, I get the following error:
Error: Bad credentials
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions