Try ensuring the checkout is not depth=1

This commit is contained in:
Marc Di Luzio 2024-08-10 22:42:38 +01:00
parent fe1c5e1d99
commit be52d51517

View file

@ -10,6 +10,8 @@ jobs:
python-version: ["3.11"] python-version: ["3.11"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@ -29,6 +31,5 @@ jobs:
run: | run: |
git fetch origin git fetch origin
git checkout -b release origin/release git checkout -b release origin/release
git pull
git merge --no-ff origin/main git merge --no-ff origin/main
git push origin release git push origin release