Skip to content

Commit bf26d6c

Browse files
authored
ci(release-crates): the release branch is not fetched by default (#614)
1 parent 6865536 commit bf26d6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-crates.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
$pr = $prRaw | ConvertFrom-Json
4747
Write-Host "pr: $pr"
4848
49+
Write-Host "Fetch branch $($pr.head_branch)"
50+
git fetch origin "$($pr.head_branch)"
51+
4952
Write-Host "Switch to branch $($pr.head_branch)"
5053
git checkout "$($pr.head_branch)"
5154

0 commit comments

Comments
 (0)