Open microbit-carlos opened 4 months ago
Same issue with extension sgbotic/pxt-sgbotic-ultimate-sr04-rgb :
warning: https://github.com/sgbotic/pxt-sgbotic-ultimate-sr04-rgb create a release
github proxy error: Bad HTTP status code: 404 at https://makecode.com/api/gh/sgbotic/pxt-sgbotic-ultimate-sr04-rgb/master/text; message: {"message":"ref response: 404"}
error: https://github.com/sgbotic/pxt-sgbotic-ultimate-sr04-rgb build error
Found via CI running the
testghpkgs
pxt command: https://github.com/microsoft/pxt-microbit/actions/runs/10153131737/job/28075895576For the extension https://github.com/yfrobot-tm/pxt-yfrobot-valon :
The additional logs show:
So my understanding is that the https://api.github.com/repos/yfrobot-tm/pxt-yfrobot-valon/git/refs/heads/master?rnd=0.6099283187397602 and https://makecode.com/api/gh/yfrobot-tm/pxt-yfrobot-valon/master/text URLs don't work because it's looking for a
master
branch, and the repo has amain
branch instead.Changing that to https://api.github.com/repos/yfrobot-tm/pxt-yfrobot-valon/git/refs/heads/main?rnd=0.6099283187397602 and https://makecode.com/api/gh/yfrobot-tm/pxt-yfrobot-valon/main/text, and those do work.