question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set CI_BRANCH_BASE for GitHub Actions

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
XhmikosRcommented, Apr 27, 2020

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.

0reactions
XhmikosRcommented, May 14, 2020

@iamogbz that was in a PR against the v4-dev branch, but I dropped the patch after I noticed it didn’t work.

Caused by dependency update in bundlewatch service resolved now

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workflow syntax for GitHub Actions
A workflow is a configurable automated process made up of one or more jobs. You must create a YAML file to define your...
Read more >
GitHub Actions Documentation
Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share ...
Read more >
Quickstart for GitHub Actions
In this guide, you'll add a workflow that demonstrates some of the essential features of GitHub Actions. The following example shows you how...
Read more >
Workflow commands for GitHub Actions
About workflow commands ... Actions can communicate with the runner machine to set environment variables, output values used by other actions, add debug...
Read more >
Using starter workflows - GitHub Docs
Anyone with write permission to a repository can set up GitHub Actions starter workflows for CI/CD or other automation. On GitHub.com, navigate to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found