mirror of
https://github.com/italicsjenga/actions-test.git
synced 2025-02-03 21:16:37 +11:00
Compare commits
No commits in common. "2512003334a327bf50b66f6860bd95321d139870" and "c240c275970b1c4b2081c4a0a3f4007c215e30bc" have entirely different histories.
2512003334
...
c240c27597
3 changed files with 4 additions and 29 deletions
17
.github/workflows/merge.yml
vendored
17
.github/workflows/merge.yml
vendored
|
@ -19,23 +19,12 @@ jobs:
|
|||
# run: git sparse-checkout disable; git checkout origin/main
|
||||
- name: status
|
||||
run: git status
|
||||
- name: shallow
|
||||
run: cat .git/shallow
|
||||
- name: deepen tree
|
||||
run: |
|
||||
git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no --update-shallow
|
||||
git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no --update-shallow
|
||||
# - name: deepen tree
|
||||
# run: |
|
||||
# depth=0
|
||||
# while ! git describe --tags main; do
|
||||
# depth=$((depth + 1))
|
||||
# git fetch --tags --recurse-submodules=no --depth $depth origin main
|
||||
# done
|
||||
- name: descibe
|
||||
run: git fetch --shallow-since "1 year" --tags --recurse-submodules=no
|
||||
- name: status
|
||||
run: git status
|
||||
- name: descibe
|
||||
run: git describe --tags main
|
||||
run: git describe --tags
|
||||
- name: show refs
|
||||
run: find .git/refs
|
||||
# - name: peepee poopoo
|
||||
|
|
4
file
4
file
|
@ -6,6 +6,4 @@ additional contents
|
|||
|
||||
more??
|
||||
|
||||
ANOTHER
|
||||
|
||||
.
|
||||
ANOTHER
|
12
thing.sh
12
thing.sh
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
var=0
|
||||
echo $var
|
||||
while ! git describe --tags main; do
|
||||
var=$((var + 1))
|
||||
echo wow
|
||||
if ((var > 3)); then
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
echo done
|
Loading…
Add table
Reference in a new issue