From 4500857a25a1014adb3ba4e5a4e644d5e9543bc1 Mon Sep 17 00:00:00 2001 From: ioangatop Date: Tue, 1 Oct 2024 13:24:49 +0200 Subject: [PATCH] fix ci --- .github/workflows/cd.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 0c1ac844..34df0bfd 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -16,7 +16,10 @@ jobs: release-pypi: runs-on: ubuntu-latest steps: - - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + - name: Checkout branch + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + with: + token: ${{ secrets.GH_PAT }} - name: Setting up PDM uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4 with: @@ -34,7 +37,8 @@ jobs: run: | git fetch origin main nox -s bump -- micro - git commit -am "Bumping minor version" + git add pyproject.toml + git commit -m "Bumping minor version" git push -f origin HEAD:main # git push -f origin HEAD:main # git fetch origin