acr-build icon indicating copy to clipboard operation
acr-build copied to clipboard

Fails in repos without a master branch

Open echennells opened this issue 4 years ago • 2 comments

Newer github repos default branch is renamed main. I tried putting in a BRANCH variable but it didn't seem to pick it up.

echennells avatar Dec 13 '21 00:12 echennells

I ran into this issue as well

I just added

          branch: main

into the with: section and it worked after

johnazariah avatar Mar 04 '22 03:03 johnazariah

Indeed, we choose master as default. As everyone, I'm aware of the switch to main default branch name for new repos, but I wonder how many repos are out there still using master. It's a though decision to choose a default, and this is no different.

ams0 avatar Mar 07 '22 10:03 ams0