mirror of
https://github.com/italicsjenga/actions-test.git
synced 2025-01-24 16:16:35 +11:00
Compare commits
18 commits
c240c27597
...
2512003334
Author | SHA1 | Date | |
---|---|---|---|
2512003334 | |||
ae0af08032 | |||
9b18ed5af6 | |||
060c95782f | |||
0aaca587e8 | |||
aae4c66ef6 | |||
f10bdad559 | |||
83026886ac | |||
f601d2c698 | |||
07cf30c601 | |||
ab4fdb55a3 | |||
ab07e0813e | |||
f84270fee0 | |||
9d6230e63c | |||
6ec00dbd81 | |||
fe0ccc71d6 | |||
5064c1798b | |||
e6719990fa |
3 changed files with 29 additions and 4 deletions
17
.github/workflows/merge.yml
vendored
17
.github/workflows/merge.yml
vendored
|
@ -19,12 +19,23 @@ jobs:
|
||||||
# run: git sparse-checkout disable; git checkout origin/main
|
# run: git sparse-checkout disable; git checkout origin/main
|
||||||
- name: status
|
- name: status
|
||||||
run: git status
|
run: git status
|
||||||
- name: descibe
|
- name: shallow
|
||||||
run: git fetch --shallow-since "1 year" --tags --recurse-submodules=no
|
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: status
|
- name: status
|
||||||
run: git status
|
run: git status
|
||||||
- name: descibe
|
- name: descibe
|
||||||
run: git describe --tags
|
run: git describe --tags main
|
||||||
- name: show refs
|
- name: show refs
|
||||||
run: find .git/refs
|
run: find .git/refs
|
||||||
# - name: peepee poopoo
|
# - name: peepee poopoo
|
||||||
|
|
2
file
2
file
|
@ -7,3 +7,5 @@ additional contents
|
||||||
more??
|
more??
|
||||||
|
|
||||||
ANOTHER
|
ANOTHER
|
||||||
|
|
||||||
|
.
|
12
thing.sh
Executable file
12
thing.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/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