Skip to content

Commit 43790d4

Browse files
authored
Update update-version.yml
1 parent 51e66d1 commit 43790d4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/update-version.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v2
26+
- name: Checkout Code
27+
uses: actions/checkout@v2
28+
with:
29+
ref: ${{ github.head_ref }} # checkout the correct branch name
30+
fetch-depth: 0 # fetch the whole repo history
2731

2832
- name: Git Version
2933
uses: codacy/git-version@2.4.0

0 commit comments

Comments
 (0)