This commit is contained in:
Dict Xiong 2022-08-28 21:03:06 +08:00
parent 18dfca5f39
commit ccbf0cb8b8
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,8 @@ jobs:
- name: checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install dfs
run: |
@ -46,6 +48,8 @@ jobs:
- name: checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install dfs
run: |

View File

@ -13,7 +13,7 @@ if [[ ${#dfs_commit} != 40 ]]; then
fi
# fetch origin
cd $DOTFILES
git fetch
git fetch --all
if [[ -n "$(git status -s)" ]]; then
fmt_error "directory not clean"
post_log "ERROR" "$THIS_FILE" "directory not clean"