diff options
Diffstat (limited to '.github/workflows/ci-cd.yml')
-rw-r--r-- | .github/workflows/ci-cd.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4fc32763..ae54353c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -573,13 +573,19 @@ jobs: # NOTE: Git repository. - name: Grab the source from Git if: >- - contains(fromJSON('["pre-commit", "spellcheck-docs"]'), matrix.toxenv) + contains( + fromJSON('["pre-commit", "pre-commit-pep257", "spellcheck-docs"]'), + matrix.toxenv + ) uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.release-committish }} - name: Retrieve the project source from an sdist inside the GHA artifact if: >- - !contains(fromJSON('["pre-commit", "spellcheck-docs"]'), matrix.toxenv) + !contains( + fromJSON('["pre-commit", "pre-commit-pep257", "spellcheck-docs"]'), + matrix.toxenv + ) uses: re-actors/checkout-python-sdist@release/v1 with: source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }} |