Skip to content

Commit c3768f9

Browse files
committed
fix(workflows): Add fetch-depth option to checkout step in release workflow
1 parent bfbfe69 commit c3768f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits. The action will fail if I remove this.
1820

1921
- name: Setup Node.js
2022
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)