From fc3bdddb4c4245c5e501204a4f9965a2a6576287 Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Mon, 21 Jul 2025 17:04:44 +0200 Subject: [PATCH] Fix release Action reference (as suggested by author) The Action emits a warning when gh-action-pypi-publish is used with `master` as a reference. The authors suggest to update to `release/v1`. See jazzband/django-analytical#241 (comment) and https://github.com/pypa/gh-action-pypi-publish?tab=readme-ov-file#-master-branch-sunset- --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f814466..d30d518 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: - name: Upload packages to Jazzband if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: jazzband password: ${{ secrets.JAZZBAND_RELEASE_KEY }}