Closed AlFazal closed 1 year ago
What's the code you're using to get the repo? I have a number of projects in private repos and have so far had no issue with updating through them.
AlFazal and I already discussed this via email yesterday, and we didn't really get anywhere. The code they showed me looked fine, and they said that the access token was correct and had the necessary permissions. If anyone else has some ideas, feel free to chime in.
What's the code you're using to get the repo? I have a number of projects in private repos and have so far had no issue with updating through them.
This is the repo code which i am using in my plugin
require 'plugin-update-checker/plugin-update-checker.php'; use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
$myUpdateChecker = PucFactory::buildUpdateChecker( 'https://github.com/AlFazal/Testcrypt', FILE, 'Testcrypt' );
//Optional: If you're using a private repository, specify the access token like this: $myUpdateChecker->setAuthentication('my token');
$myUpdateChecker->setBranch('main');
can you please help me on this issue? this issue higher priority for me
AlFazal and I already discussed this via email yesterday, and we didn't really get anywhere. The code they showed me looked fine, and they said that the access token was correct and had the necessary permissions. If anyone else has some ideas, feel free to chime in.
Yes , I couldn't found any solution yet , so i came here maybe some other may know this issue , that's why i raised here ticket brother
brother i am using free version GitHub , Maybe this case private method not allowing ?
On Fri, Mar 17, 2023 at 2:18 PM Yahnis Elsts @.***> wrote:
AlFazal and I already discussed this via email yesterday, and we didn't really get anywhere. The code they showed me looked fine, and they said that the access token was correct and had the necessary permissions. If anyone else has some ideas, feel free to chime in.
— Reply to this email directly, view it on GitHub https://github.com/YahnisElsts/plugin-update-checker/issues/524#issuecomment-1473612548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXA3QRVW5S36KN5DYPHNT3W4Q27DANCNFSM6AAAAAAV6KEUOQ . You are receiving this because you authored the thread.Message ID: @.***>
I have fixed this issue , how to close this ticket , can you close by ur side please , thank you for the support
All right, closing it now.
Thank you 👍
On Fri, Mar 17, 2023, 8:32 PM Yahnis Elsts @.***> wrote:
All right, closing it now.
— Reply to this email directly, view it on GitHub https://github.com/YahnisElsts/plugin-update-checker/issues/524#issuecomment-1473977985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXA3QWCUJSTDRQZSSUE6K3W4R4IJANCNFSM6AAAAAAV6KEUOQ . You are receiving this because you authored the thread.Message ID: @.***>
I am getting errors using the private repository GitHub
Image Proff : http://alfazalq.online/wp-content/uploads/2023/03/ssa.png
But when i change repository to public then its working fine
Please give me the solution