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

[24.x] Fix Get-CurrentBranch to always rely on git (and not GITHUB_REF env variable) #951

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

…ariable)

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:19
@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 24.1 milestone Apr 17, 2024
@mazhelez mazhelez enabled auto-merge (squash) April 17, 2024 13:21
@mazhelez mazhelez merged commit 9e730b2 into releases/24.x Apr 18, 2024
30 checks passed
@mazhelez mazhelez deleted the mazhelez/fix-get-currentbranch-24.x branch April 18, 2024 07:54
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