Skip to content

Commit 2edb054

Browse files
authored
Fetching remote branches before switching to version branch (#316)
* Fetching remote branches before switching to version branch * Using checkout action params to fetch all git branches
1 parent eedec15 commit 2edb054

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/updateVersionBranch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
email: ${{ env.GIT_EMAIL }}
2929
token: ${{ env.GITHUB_TOKEN }}
3030
- uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
3133
- uses: actions-ecosystem/action-regex-match@v2
3234
id: major-version
3335
with:

0 commit comments

Comments
 (0)