diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 88098d18..407f20fa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,12 +9,12 @@ jobs: environment: release permissions: id-token: write - contents: write # Add this permission to allow pushing the version bump + contents: write # Add this permission to allow pushing the version bump steps: - name: Checkout code uses: actions/checkout@v2 with: - fetch-depth: 0 # Fetch all history for all branches and tags + fetch-depth: 0 # Fetch all history for all branches and tags - name: Setup PDM uses: pdm-project/setup-pdm@v2 @@ -39,4 +39,4 @@ jobs: run: pdm build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1