acr-build
acr-build copied to clipboard
Fails in repos without a master branch
Newer github repos default branch is renamed main. I tried putting in a BRANCH variable but it didn't seem to pick it up.
I ran into this issue as well
I just added
branch: main
into the with: section and it worked after
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.