-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work for private repositories #81
Comments
it works for me for private repos with the GITHUB TOKEN so you must have something set up incorrectly. |
I'm trying it from a private repo in a privae org. That might the case. Nevertheless, I managed to work around, so if nobody else encounters this, I'm ok with closing. |
@e8johan How did you solve this? I've tried quite a few ways and still badly stuck with this |
@e8johan could you please share the workaround you mentioned? |
Hi everyone, I fixed this in our repositories by removing the step and replacing it with:
The repo owner is our organisation and the GITHUB_PAT is a personal access token. Hope this helps! 😉 |
Chances are you'r using actions/checkout@v2 already. It offers a solution to push a commit using the built-in token. |
I'm having the same issue as @e8johan. and am using this action in combination with jaumann/github-bumpversion-action@v0.0.7 Hope someone can shed some light on this issue because i'm stuck. |
How to make the owner dynamically to the the PR maker? |
When trying to push to a private repository (the same repo that the action is run from), I get a "fatal: repository 'https://github.com//.git/' not found". I've tried using both secrets.GITHUB_TOKEN, and a PAT (via secrets.DEPLOY_PAT). I'm not sure if I'm doing somethign wrong, but I suspect that it might come down to the repo being private.
The text was updated successfully, but these errors were encountered: