We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51e66d1 commit 43790d4Copy full SHA for 43790d4
1 file changed
.github/workflows/update-version.yml
@@ -23,7 +23,11 @@ jobs:
23
# Steps represent a sequence of tasks that will be executed as part of the job
24
steps:
25
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
- - uses: actions/checkout@v2
+ - 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
31
32
- name: Git Version
33
uses: codacy/git-version@2.4.0
0 commit comments