mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 20:48:45 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 10da4ea372 | |||
| 68525d5ae4 |
19
.github/workflows/update-submodules.yml
vendored
19
.github/workflows/update-submodules.yml
vendored
@@ -25,15 +25,20 @@ jobs:
|
|||||||
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
- name: Update submodules
|
- name: Update submodules
|
||||||
run: |
|
run: |
|
||||||
if git commit -am"chore(git): Update submodules (automated)
|
git submodule sync
|
||||||
|
git submodule foreach --quiet '
|
||||||
$(git submodule --quiet foreach \
|
tag="$(git describe --tags --abbrev=0 origin/HEAD)"
|
||||||
'tag="$(git describe --tags --abbrev=0 origin/HEAD)"
|
|
||||||
if [ "$(git describe --tags)" != "$tag" ]; then
|
if [ "$(git describe --tags)" != "$tag" ]; then
|
||||||
git checkout --quiet "$tag"
|
git checkout --quiet "$tag"
|
||||||
echo "$name" "$tag"
|
echo "$name updated to $tag"
|
||||||
fi')"
|
fi
|
||||||
then
|
'
|
||||||
|
|
||||||
|
if git diff --quiet; then
|
||||||
|
echo "No updates for submodules."
|
||||||
|
else
|
||||||
|
git add .
|
||||||
|
git commit -m "chore(git): Update submodules (automated)"
|
||||||
git show --raw
|
git show --raw
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -75,7 +75,7 @@
|
|||||||
ignore = dirty
|
ignore = dirty
|
||||||
|
|
||||||
[submodule "asdf"]
|
[submodule "asdf"]
|
||||||
path = local/bin/asdf
|
path = local/asdf
|
||||||
url = https://github.com/asdf-vm/asdf.git
|
url = https://github.com/asdf-vm/asdf.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user