diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 456af53..1b1dd08 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -8,11 +8,16 @@ on: jobs: release: runs-on: ubuntu-latest - concurrency: release + + concurrency: + group: semantic-release + cancel-in-progress: false permissions: id-token: write contents: write + issues: write + pull-requests: write environment: name: pypi @@ -34,7 +39,6 @@ jobs: - name: Action | Semantic Version Release id: release - # Adjust tag with desired version if applicable. uses: python-semantic-release/python-semantic-release@v10.2.0 with: build: true @@ -42,7 +46,7 @@ jobs: git_committer_name: "github-actions" git_committer_email: "actions@users.noreply.github.com" changelog: "true" - + - name: Publish | Upload package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 if: steps.release.outputs.released == 'true' @@ -52,4 +56,4 @@ jobs: if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ steps.release.outputs.tag }} \ No newline at end of file + tag: ${{ steps.release.outputs.tag }}