diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c152ad7..a2486597 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,9 +8,6 @@ on: branches: - main -concurrency: - group: ci-${{ github.ref_name }} - jobs: lint-python: name: Lint Python @@ -183,6 +180,8 @@ jobs: - lint-docs permissions: contents: write + concurrency: + group: publish-docs steps: - uses: actions/checkout@v4 with: @@ -213,6 +212,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/') permissions: contents: write + concurrency: + group: publish-github needs: - build-python - coverage-python @@ -247,6 +248,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/') permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing + concurrency: + group: publish-pypi needs: - build-python - coverage-python