Skip to content

Commit d366b7e

Browse files
authored
Fix diff in wiki notifications (use full clone)
The checkout action fetches one single commit, so attempts to find previous states of a page result in error. Adding fetch-depth:0 to the configuration fetches all commits and makes finding the previous commit that changed a page possible in the github action.
1 parent 52e051b commit d366b7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/wiki-monitor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
with:
1313
repository: ${{ github.repository }}.wiki
1414
path: wiki
15+
fetch-depth: 0
1516

1617
- name: Generate wiki change message
1718
run: |
@@ -58,3 +59,4 @@ jobs:
5859

5960

6061

62+

0 commit comments

Comments
 (0)