mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 03:52:10 +08:00
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.
This commit is contained in:
2
.github/workflows/wiki-monitor.yml
vendored
2
.github/workflows/wiki-monitor.yml
vendored
@@ -12,6 +12,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: ${{ github.repository }}.wiki
|
repository: ${{ github.repository }}.wiki
|
||||||
path: wiki
|
path: wiki
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Generate wiki change message
|
- name: Generate wiki change message
|
||||||
run: |
|
run: |
|
||||||
@@ -58,3 +59,4 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user