I would like to push some commits to a different repo within the same org but the GH token doesn’t seem to be valid for other repos. What’s the best way to push code to other repos?
1 Like
Hi,
I have same request do you have any solution about it ?
Awaiting your feedback about this case.
Thanks
Romaine
1 Like
Thank you for the response. The PAT will have the same permissions as me, though, right? I’m a bit scared to give everyone in the repo access to all repos I have access to. Is there a way to scope the token?
I haven’t found a way to scope the token, unfortunately – one workaround is to create a bot account and only add it to a couple of repos, and then make the token with that account.
2 Likes
can you please share the solution u have implemented. i have to implement the same solution.