-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
use this action on a private repo #156
Comments
Hi @staabm I know that the action works fine for private repositories when the PR is being created in the current repository. What it looks like you are doing here is creating the PR in a private remote repository. I don't think I've tested that personally, but I would be surprised if it was a use case that didn't work. I understand |
I added a test to my test suite for creating a PR in a remote private repository. It passes and creates the PR fine. Test: https://github.com/peter-evans/create-pull-request-tests/blob/master/.github/workflows/test-command.yml#L539-L560 So I'm fairly sure the issue is that the |
Thx for the feedback. I have only private reposes at play. a private repo for the templates, a private repo in which the action is run and a private repo I want to commit into (all within the same org) Maybe the problem is that the „production“ branch which was checked out successfully has branch protection rules? I will check the PAT again, thx for the hint |
hmm it seems I really did something wrong while copy/pasting the token. thanks again, it works now. |
I try to build a workflow in which I copy a file from a source repo into a dest repo while using pull requests.
my workflow which is triggered via a slash-command (thx for another great action ;-)) looks like
I am wondering that I can see "permisson-errors" and got the impression that this create-pull-request action might not work for private repos?
The text was updated successfully, but these errors were encountered: