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
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ gitea.sha }}
|
ref: ${{ gitea.sha }}
|
||||||
|
fetch-depth: 0
|
||||||
- name: Validate repository
|
- name: Validate repository
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
@ -31,6 +32,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ gitea.sha }}
|
ref: ${{ gitea.sha }}
|
||||||
|
fetch-depth: 0
|
||||||
- name: Block automatic deploy for external Gitea changes
|
- name: Block automatic deploy for external Gitea changes
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue