mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 21:53:25 +00:00
chore(ci): update-submodules fetch depth to 1
This commit is contained in:
4
.github/workflows/update-submodules.yml
vendored
4
.github/workflows/update-submodules.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 1
|
||||||
token: ${{secrets.GITHUB_TOKEN}}
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
- name: Config Git User
|
- name: Config Git User
|
||||||
run: |
|
run: |
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
echo "$name updated to $tag"
|
echo "$name updated to $tag"
|
||||||
fi
|
fi
|
||||||
'
|
'
|
||||||
|
|
||||||
if git diff --quiet; then
|
if git diff --quiet; then
|
||||||
echo "No updates for submodules."
|
echo "No updates for submodules."
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user