Skip to content
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

Fix Get-CurrentBranch to always rely on git (and not GITHUB_REF env variable) #950

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

mazhelez
Copy link
Contributor

@mazhelez mazhelez commented Apr 17, 2024

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

@mazhelez mazhelez requested a review from a team as a code owner April 17, 2024 13:17
@github-actions github-actions bot added the Build: scripts & configs Build scripts and configuration files label Apr 17, 2024
@github-actions github-actions bot added this to the Version 25.0 milestone Apr 17, 2024
@mazhelez mazhelez enabled auto-merge (squash) April 17, 2024 13:21
@mazhelez mazhelez merged commit 79ee4d0 into main Apr 18, 2024
34 checks passed
@mazhelez mazhelez deleted the mazhelez/fix-get-currentbranch branch April 18, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build: scripts & configs Build scripts and configuration files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants