Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Get-CurrentBranch to always rely on git (and not GITHUB_REF env v…
…ariable) (microsoft#950) Fix `Get-CurrentBranch` to always rely on git (and not GITHUB_REF env variable) `$env:GITHUB_REF` is not the same as the checked out branch. `$env:GITHUB_REF` is the branch the workflow is running on. Fixes [AB#525684](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/525684)
- Loading branch information