Skip to content

Set CI_BRANCH_BASE for GitHub Actions #114

@XhmikosR

Description

@XhmikosR

Do 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions