Skip to content

Commit a7636c9

Browse files
committed
Fix the changelog script on GitHub Actions
actions/checkout doesn’t fetch full history by default, but the changelog script needs it. This one-liner fixes the issue. Issue: #266
1 parent 28ec0d8 commit a7636c9

File tree

2 files changed

+9900
-0
lines changed

2 files changed

+9900
-0
lines changed

.github/workflows/update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
with:
1616
ref: ${{ github.head_ref }}
1717
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
18+
# Fetching full history is required for the changelog script.
19+
fetch-depth: 0
1820

1921
- name: Set up Node.js
2022
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)