Skip to content

Commit eca9c5c

Browse files
authored
fix(ci): "fetch-depth" should be 0 for releases (#17)
# Description For the update "prepare-release" the `fetch-depth` should be 0
1 parent d098733 commit eca9c5c

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@v5
42+
with:
43+
fetch-depth: 0
4244
- name: Prepare Release
4345
id: prepare_release
4446
uses: elastiflow/gha-reusable/actions/prepare-release@v0
@@ -47,7 +49,6 @@ jobs:
4749
bump_version_yaml: true
4850
bump_version_yaml_path: galaxy.yml
4951
bump_version_yaml_key: '.version'
50-
github_token: ${{ secrets.GITHUB_TOKEN }}
5152
- name: Install uv
5253
uses: astral-sh/setup-uv@v6
5354
- name: Update roles readme
@@ -80,12 +81,13 @@ jobs:
8081
steps:
8182
- name: Checkout
8283
uses: actions/checkout@v5
84+
with:
85+
fetch-depth: 0
8386
- name: Prepare Release
8487
id: prepare_release
8588
uses: elastiflow/gha-reusable/actions/prepare-release@v0
8689
with:
8790
add_git_notes: true
88-
github_token: ${{ secrets.GITHUB_TOKEN }}
8991
- name: Create and push semver tag
9092
if: ${{ fromJson(steps.prepare_release.outputs.new_release_published) }}
9193
uses: anothrNick/github-tag-action@e528bc2b9628971ce0e6f823f3052d1dcd9d512c

.releaserc.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)