mirror of
https://github.com/italicsjenga/actions-test.git
synced 2025-01-10 01:11:41 +11:00
main
This commit is contained in:
parent
ea27bb5ada
commit
6e28436d41
6
.github/workflows/merge.yml
vendored
6
.github/workflows/merge.yml
vendored
|
@ -11,16 +11,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: refs/heads/master
|
||||
ref: refs/heads/main
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
fetch-tags: true
|
||||
# fetch-depth: 0
|
||||
# - name: stinky but
|
||||
# run: git sparse-checkout disable; git checkout origin/master
|
||||
# run: git sparse-checkout disable; git checkout origin/main
|
||||
- name: deepen tree
|
||||
run: git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
|
||||
# - name: peepee poopoo
|
||||
# run: git checkout --progress --force -B master refs/remotes/origin/master
|
||||
# run: git checkout --progress --force -B main refs/remotes/origin/main
|
||||
- name: Get git describe for prerelease
|
||||
id: describe
|
||||
run: echo "tagname=pre-$(git describe --tags)" >> $GITHUB_OUTPUT
|
Loading…
Reference in a new issue