New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract GitHub Actions branch name from GTIHUB_REF #66
Extract GitHub Actions branch name from GTIHUB_REF #66
Conversation
I don't know why CI is failing, the output is kinda messy :/ |
ping @jakebolam @iamogbz @tgrant59 Guys, please tell me that
GitHub Actions support is the dealbreaker for many devs, you can lure some users from bundlesize: siddharthkp/bundlesize#348 |
So it seems :/ |
@limonte I'll try and get to all these open PRs and Issues over the break. First need to solve the broken build on master |
@iamogbz @jakebolam @limonte is there anything I could help with to get this one merged and a new release of bundlewatch out so that we can start using it with Github actions? |
Guys, reviewing and merging this PR will literally take max 30 min. If you can't dedicate that amount of time for this project, consider archiving it.
|
Better late than never! Thank you @iamogbz for taking care of things! I tested out the new release in sweetalert2/sweetalert2#1915 All is well 🚀 |
nope |
bundlewatch/bundlewatch#66 has been merged so we can now remove manually setting environment variables. bundlewatch will now pull them automatically for GitHub actions.
First of all thanks for merging, tried it in uuidjs/uuid#404 and it seems to work well! I'm happy to supply pull requests for issues I encounter, however I currently won't find enough time to become an active maintainer of this project. |
bundlewatch/bundlewatch#66 has been merged so we can now remove manually setting environment variables. bundlewatch will now pull them automatically for GitHub actions.
bundlewatch/bundlewatch#66 has been merged so we can now remove manually setting environment variables. bundlewatch will now pull them automatically for GitHub actions.
What kind of change does this PR introduce?
Fixes #65
Did you add tests for your changes?
Yes
Summary
GitHub only provides
GITHUB_REF
env variable which contains ref, not branch name. Here's the difference between ref and branch name: https://stackoverflow.com/q/1526471Here's the relates SO question: https://stackoverflow.com/q/58033366