Skip to content

Commit 52b7071

Browse files
committed
Update release-drafter action to v6.1.0 and set fetch-depth for custom structures
1 parent f4d2920 commit 52b7071

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release-drafter.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4.2.2
1717
with:
1818
fetch-depth: 0
19-
- uses: release-drafter/release-drafter@v6.0.0
19+
- uses: release-drafter/release-drafter@v6.1.0
2020
id: release-drafter
2121
with:
2222
config-name: release-drafter.yml
@@ -38,5 +38,6 @@ jobs:
3838
3939
- name: force update major tag
4040
run: |
41+
git tag
4142
git tag v${{ steps.version.outputs.major }} ${{ steps.version.outputs.tag }} -f
4243
git push origin refs/tags/v${{ steps.version.outputs.major }} -f

.github/workflows/struct-generate.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
repository: ${{ inputs.custom_structure_repository }}
7878
token: ${{ secrets.token }}
7979
path: ./custom-structures
80+
fetch-depth: 1
8081

8182
- name: Run STRUCT
8283
run: |

0 commit comments

Comments
 (0)