Skip to content

Commit 236469b

Browse files
committed
fix: older CHANGELOG.md in image because of fetch-depth in build job
+ add fetch-depth: 0 in build job to get last CHANGELOG.md + remove unnecessary fetch-depth: 0 from tests jobs
1 parent 23f069f commit 236469b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/semantic-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
2523

2624
- name: Setup Node
2725
uses: actions/setup-node@v4
@@ -45,8 +43,6 @@ jobs:
4543
steps:
4644
- name: Checkout code
4745
uses: actions/checkout@v4
48-
with:
49-
fetch-depth: 0
5046

5147
- name: Set up Python
5248
uses: actions/setup-python@v5
@@ -149,6 +145,8 @@ jobs:
149145
steps:
150146
- name: Checkout repository
151147
uses: actions/checkout@v4
148+
with:
149+
fetch-depth: 0
152150

153151
- name: Log in to Docker Hub
154152
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

0 commit comments

Comments
 (0)