Set CI_BRANCH_BASE for GitHub Actions
See original GitHub issueDo you want to request a feature or report a bug?
Bug
What is the current behavior?
There’s no way to diff against a branch other than master on GitHub Actions CI
If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/twbs/bootstrap/tree/v4-dev
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, bundlewatch version, and Operating System.
Recently I switched bootstrap from bundlesize to bundlewatch and it works quite well!
I wanted to figure out how to diff against a branch other than master, in our case v4-dev. I couldn’t find how to make this work with GitHub Actions, since the env variables don’t seem to provide a similar variable to CI_BRANCH_BASE
Does anybody have any ideas?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top GitHub Comments
Setting the var works. I didn’t change
trackBranches
.Anyway, I still think it’d be a nice improvement if bundlewatch detected this automatically like it happens with Travis.
@iamogbz that was in a PR against the v4-dev branch, but I dropped the patch after I noticed it didn’t work.
Thanks!