Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit cdeb9f2

Browse files
fetch-depth set to 0 and fetch-tags: true
1 parent 6ccb83f commit cdeb9f2

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/actions/prepare-opencga-enterprise/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ runs:
3434
ref: ${{ inputs.enterprise_ref }}
3535
path: workspace/opencga-enterprise
3636
token: ${{ env.ZETTA_REPO_ACCESS_TOKEN }}
37-
fetch-depth: 10
37+
fetch-depth: 0
38+
fetch-tags: true
3839
## This is important to avoid the error in next steps: "fatal: repository 'https://github.com/zetta-genomics/opencga-enterprise.git/' not found"
3940
persist-credentials: false
4041
- id: project_version
@@ -70,7 +71,8 @@ runs:
7071
repository: opencb/opencga
7172
ref: ${{ steps.opencga_branch.outputs.opencga_branch }}
7273
path: workspace/opencga
73-
fetch-depth: 10
74+
fetch-depth: 0
75+
fetch-tags: true
7476
## This is important to avoid the error in the next step: "fatal: repository 'https://github.com/zetta-genomics/opencga-enterprise.git/' not found"
7577
persist-credentials: false
7678
- id: dependencies_sha

.github/actions/setup-java-maven/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ runs:
6666
ref: main
6767
path: ci-core
6868
fetch-depth: '0'
69+
fetch-tags: true
6970
## This is important to avoid the error in the next step: "fatal: repository 'https://github.com/zetta-genomics/opencga-enterprise.git/' not found"
7071
persist-credentials: false
7172
- name: Set up JDK

.github/workflows/pull-request-approve.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444
- name: Checkout triggering repository
4545
uses: actions/checkout@v4
4646
with:
47-
fetch-depth: 10
47+
fetch-depth: 0
48+
fetch-tags: true
4849
path: workspace
4950
## This is important to avoid the error in the next step: "fatal: repository 'https://github.com/zetta-genomics/opencga-enterprise.git/' not found"
5051
persist-credentials: false

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: '0'
19+
fetch-tags: true
1920
# Set up Java environment
2021
- name: Set up Java
2122
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)