diff --git a/.github/workflows/.tests-matrix.yaml b/.github/workflows/.tests-matrix.yaml index c3869f1d572..dd5e131c5dc 100644 --- a/.github/workflows/.tests-matrix.yaml +++ b/.github/workflows/.tests-matrix.yaml @@ -75,7 +75,7 @@ jobs: pytest-export: name: pytest (poetry-plugin-export) runs-on: ${{ inputs.runner }} - if: inputs.run-pytest-export + if: ${{ inputs.run-pytest-export && contains(github.event.pull_request.labels.*.name, 'test poetry export')}} steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: