diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..55218721c --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,7 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - pre-commit-ci + - dependabot diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 85ee621a5..c3640b2fe 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -52,7 +52,7 @@ jobs: python: - {version: '3.10'} - {version: '3.11'} - - {version: '3.12.0-beta - 3.12.0'} + - {version: '3.12'} steps: - name: Checkout @@ -158,6 +158,9 @@ jobs: needs: - test + permissions: + id-token: write + steps: - name: Download all the dists uses: actions/download-artifact@v4 @@ -170,7 +173,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.testpypi_password }} - repository_url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ - name: Create GitHub release uses: svenstaro/upload-release-action@2.9.0 @@ -186,5 +189,3 @@ jobs: - name: Publish 📦 to PyPI if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.pypi_password }}