[Bug] build-each-commit.py script hard-codes master branch as base #2041
Labels
bug
Something isn't working
devops
Issues related to continuous integration and distribution of software.
software: pybricks-micropython
Issues with Pybricks MicroPython firmware (or EV3 runtime)
Describe the bug
CI builds targeting the
pybricks-v4.x
branch are really slowed down because thebuild-each-commit.py
script hard-codes themaster
branch as the base branch.https://github.com/pybricks/pybricks-micropython/blob/77384ec20b25115d622fa654505ced9e2e3bc4ed/.github/build-each-commit.py#L45
To reproduce
Run a CI build like: https://github.com/pybricks/pybricks-micropython/actions/runs/13093071041/job/36532011230
Expected behavior
We should only build each commit from the pull request compared to the base branch of the pull request.
Alternative
We can use the
master
branch for more experimental stuff and start a new branch for the next release.The text was updated successfully, but these errors were encountered: