fix: set fetch-depth 0 to fix git error 128
This commit is contained in:
parent
02f74ce659
commit
dca1d9f0a0
|
|
@ -15,6 +15,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ gitea.sha }}
|
||||
fetch-depth: 0
|
||||
- name: Validate repository
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
|
@ -31,6 +32,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ gitea.sha }}
|
||||
fetch-depth: 0
|
||||
- name: Block automatic deploy for external Gitea changes
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
|
|
|||
Loading…
Reference in New Issue