mirror of
https://github.com/italicsjenga/actions-test.git
synced 2024-12-23 08:31:43 +11:00
567r56erd654er
This commit is contained in:
parent
07cf30c601
commit
f601d2c698
11
.github/workflows/merge.yml
vendored
11
.github/workflows/merge.yml
vendored
|
@ -11,9 +11,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: refs/heads/main
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
fetch-tags: true
|
# fetch-tags: true
|
||||||
# fetch-depth: 0
|
# fetch-depth: 0
|
||||||
# - name: stinky but
|
# - name: stinky but
|
||||||
# run: git sparse-checkout disable; git checkout origin/main
|
# run: git sparse-checkout disable; git checkout origin/main
|
||||||
|
@ -22,12 +22,7 @@ jobs:
|
||||||
- name: shallow
|
- name: shallow
|
||||||
run: cat .git/shallow
|
run: cat .git/shallow
|
||||||
- name: deepen tree
|
- name: deepen tree
|
||||||
run: |
|
run: git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue