add BRANCH_NAME env variable to explicitly specify the branch to use to avoid confusion or human errors